Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 178.2 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 239.5 MB, free: 15.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007936/0.0007934, allocations: 93.59 kB / 290.6 MB, free: 4.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5168/0.5168, allocations: 78.62 MB / 420.4 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005006, allocations: 16.22 kB / 0.4889 GB, free: 6.762 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1359, allocations: 69.34 MB / 0.5566 GB, free: 1.348 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005667/0.1416, allocations: 6.008 MB / 0.5625 GB, free: 11.3 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004609/0.1463, allocations: 1.895 MB / 0.5643 GB, free: 9.402 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.147, allocations: 12 kB / 0.5643 GB, free: 9.391 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.1475, allocations: 166.9 kB / 0.5645 GB, free: 9.227 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.1491, allocations: 0.614 MB / 0.5651 GB, free: 8.613 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_Inputs_Outputs.xq <> order4_Inputs_Outputs.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1503, allocations: 0.5836 MB / 0.5657 GB, free: 8.035 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.1516, allocations: 1.288 MB / 0.5669 GB, free: 6.742 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.152, allocations: 252 kB / 0.5672 GB, free: 6.484 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006/0.1526, allocations: 0.4937 MB / 0.5676 GB, free: 5.988 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.1532, allocations: 0.6336 MB / 0.5683 GB, free: 5.352 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.1533, allocations: 52 kB / 0.5683 GB, free: 5.301 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.1537, allocations: 179.9 kB / 0.5685 GB, free: 5.125 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.1539, allocations: 218.8 kB / 0.5687 GB, free: 4.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.1543, allocations: 0.549 MB / 0.5692 GB, free: 4.352 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1554, allocations: 1.373 MB / 0.5706 GB, free: 2.973 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-05/0.1555, allocations: 0 / 0.5706 GB, free: 2.973 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1555, allocations: 0 / 0.5706 GB, free: 2.973 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.1555, allocations: 0 / 0.5706 GB, free: 2.973 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.006548/0.162, allocations: 2.283 MB / 0.5728 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1621, allocations: 8.031 kB / 0.5728 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.1623, allocations: 126.5 kB / 0.5729 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2315/0.3938, allocations: 0.7661 MB / 0.5737 GB, free: 44.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.3951, allocations: 0.738 MB / 0.5744 GB, free: 44.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.3953, allocations: 264.2 kB / 0.5746 GB, free: 44.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.3955, allocations: 83.56 kB / 0.5747 GB, free: 44.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.3976, allocations: 1.171 MB / 0.5759 GB, free: 44.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3976, allocations: 3.375 kB / 0.5759 GB, free: 44.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.088e-05/0.3977, allocations: 25.75 kB / 0.5759 GB, free: 44.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.3977, allocations: 18.16 kB / 0.5759 GB, free: 44.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.3999, allocations: 1.127 MB / 0.577 GB, free: 44.26 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005368/0.4053, allocations: 3.532 MB / 0.5805 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.4077, allocations: 1.54 MB / 0.582 GB, free: 42.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.4093, allocations: 0.8277 MB / 0.5828 GB, free: 42.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.4094, allocations: 14.34 kB / 0.5828 GB, free: 42.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.4094, allocations: 43.25 kB / 0.5828 GB, free: 42.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=90): time 2.284e-06/0.4094, allocations: 0 / 0.5828 GB, free: 42.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.02761/0.437, allocations: 8.546 MB / 0.5912 GB, free: 42.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.4371, allocations: 87.23 kB / 0.5913 GB, free: 41.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4383, allocations: 0.8262 MB / 0.5921 GB, free: 41.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.4385, allocations: 42.33 kB / 0.5921 GB, free: 41.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.4388, allocations: 457.3 kB / 0.5925 GB, free: 41.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.439, allocations: 320.6 kB / 0.5928 GB, free: 41.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4392, allocations: 106.8 kB / 0.593 GB, free: 41.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.4392, allocations: 350.2 kB / 0.5933 GB, free: 41.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4406, allocations: 0.7786 MB / 0.594 GB, free: 40.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.4421, allocations: 0.9244 MB / 0.5949 GB, free: 40.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/0.4448, allocations: 1.674 MB / 0.5966 GB, free: 39.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4448, allocations: 3.281 kB / 0.5966 GB, free: 39.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01274/0.4575, allocations: 5.153 MB / 0.6016 GB, free: 38.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.4577, allocations: 159.7 kB / 0.6018 GB, free: 38.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4577, allocations: 3.062 kB / 0.6018 GB, free: 38.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005909/0.4636, allocations: 2.094 MB / 0.6038 GB, free: 38.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/0.4645, allocations: 203.4 kB / 0.604 GB, free: 37.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/0.484, allocations: 9.563 MB / 0.6134 GB, free: 33.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.4854, allocations: 202.6 kB / 0.6135 GB, free: 33.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4856, allocations: 39.59 kB / 0.6136 GB, free: 33.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.4856, allocations: 3.688 kB / 0.6136 GB, free: 33.79 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01343/0.499, allocations: 5.006 MB / 0.6185 GB, free: 32.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.4991, allocations: 2.188 kB / 0.6185 GB, free: 32.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/0.5055, allocations: 2.098 MB / 0.6205 GB, free: 32.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009804/0.5066, allocations: 202.2 kB / 0.6207 GB, free: 32.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02011/0.5267, allocations: 9.538 MB / 0.63 GB, free: 28.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.5281, allocations: 191.3 kB / 0.6302 GB, free: 27.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/0.5282, allocations: 43.7 kB / 0.6303 GB, free: 27.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005094/0.5287, allocations: 305.4 kB / 0.6305 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.5289, allocations: 110.7 kB / 0.6307 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.5411, allocations: 4.831 MB / 0.6354 GB, free: 23.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.5412, allocations: 10.31 kB / 0.6354 GB, free: 23.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5412, allocations: 0 / 0.6354 GB, free: 23.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.5412, allocations: 3.984 kB / 0.6354 GB, free: 23.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.5552, allocations: 6.506 MB / 0.6417 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5552, allocations: 0 / 0.6417 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/0.5559, allocations: 111.9 kB / 0.6418 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005355/0.5612, allocations: 2.059 MB / 0.6439 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.5614, allocations: 19.94 kB / 0.6439 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.5782, allocations: 8.201 MB / 0.6519 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5782, allocations: 6.375 kB / 0.6519 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.5922, allocations: 5.847 MB / 0.6576 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.5925, allocations: 199.5 kB / 0.6578 GB, free: 228 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.5926, allocations: 16 kB / 0.6578 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/0.5935, allocations: 135.9 kB / 0.6579 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000601/0.5941, allocations: 206 kB / 0.6581 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.952e-05/0.5942, allocations: 20 kB / 0.6582 GB, free: 15.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006511/0.5949, allocations: 0.5511 MB / 0.6587 GB, free: 15.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.654e-06/0.5949, allocations: 0 / 0.6587 GB, free: 15.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001788/0.5967, allocations: 0.6915 MB / 0.6594 GB, free: 14.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01588/0.6126, allocations: 6.433 MB / 0.6656 GB, free: 8.137 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01195/0.6246, allocations: 4.646 MB / 0.6702 GB, free: 3.484 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.6246, allocations: 0 / 0.6702 GB, free: 3.484 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004773/0.6294, allocations: 1.755 MB / 0.6719 GB, free: 1.727 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.6304, allocations: 87.44 kB / 0.672 GB, free: 1.641 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03923/0.6697, allocations: 17.89 MB / 0.6895 GB, free: 15.42 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.6703, allocations: 1.085 MB / 0.6905 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005732/0.6709, allocations: 101.2 kB / 0.6906 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/0.6714, allocations: 399.3 kB / 0.691 GB, free: 13.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6714, allocations: 0 / 0.691 GB, free: 13.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05818/0.7296, allocations: 36.63 MB / 0.7268 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.7298, allocations: 226.7 kB / 0.727 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.268/3.998, allocations: 3.938 kB / 0.727 GB, free: 9.238 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)