Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 239.3 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 184.5 kB / 289.5 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5219/0.5219, allocations: 78.53 MB / 418.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 80.2 kB / 497.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1504, allocations: 68.18 MB / 0.5525 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.2885/0.439, allocations: 6.074 MB / 0.5584 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00325/0.4423, allocations: 1.847 MB / 0.5602 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004697/0.4428, allocations: 13.44 kB / 0.5602 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.4433, allocations: 218.6 kB / 0.5604 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.445, allocations: 0.6947 MB / 0.5611 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.4464, allocations: 0.627 MB / 0.5617 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.4477, allocations: 1.345 MB / 0.563 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.4482, allocations: 290.7 kB / 0.5633 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.4488, allocations: 0.5511 MB / 0.5638 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006596/0.4495, allocations: 0.6855 MB / 0.5645 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.4496, allocations: 99.94 kB / 0.5646 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.4501, allocations: 243.6 kB / 0.5648 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.4503, allocations: 266.7 kB / 0.5651 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004717/0.4508, allocations: 0.5898 MB / 0.5657 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.4523, allocations: 1.433 MB / 0.5671 GB, free: 34.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.118e-06/0.4523, allocations: 0.5625 kB / 0.5671 GB, free: 34.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.4523, allocations: 2.188 kB / 0.5671 GB, free: 34.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.525e-05/0.4523, allocations: 0 / 0.5671 GB, free: 34.4 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.00755/0.4599, allocations: 2.439 MB / 0.5695 GB, free: 33.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.4599, allocations: 9.094 kB / 0.5695 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.4601, allocations: 121.1 kB / 0.5696 GB, free: 33.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004862/0.465, allocations: 0.7712 MB / 0.5703 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.4662, allocations: 0.7411 MB / 0.5711 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.4665, allocations: 252 kB / 0.5713 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.4667, allocations: 75.56 kB / 0.5714 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.4688, allocations: 1.094 MB / 0.5724 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4689, allocations: 2.812 kB / 0.5724 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.469, allocations: 28.44 kB / 0.5725 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.469, allocations: 19.02 kB / 0.5725 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.4711, allocations: 1.026 MB / 0.5735 GB, free: 32.77 MB / 430.1 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.005331/0.4764, allocations: 3.511 MB / 0.5769 GB, free: 31.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.4789, allocations: 1.452 MB / 0.5783 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.4804, allocations: 0.74 MB / 0.5791 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.924e-05/0.4805, allocations: 15.5 kB / 0.5791 GB, free: 30.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.4806, allocations: 45.69 kB / 0.5791 GB, free: 30.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.036e-06/0.4806, allocations: 0 / 0.5791 GB, free: 30.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02508/0.5057, allocations: 6.436 MB / 0.5854 GB, free: 29.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.5058, allocations: 86.3 kB / 0.5855 GB, free: 29.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.5073, allocations: 0.8329 MB / 0.5863 GB, free: 28.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002332/0.5075, allocations: 41.05 kB / 0.5863 GB, free: 28.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.5079, allocations: 451.7 kB / 0.5868 GB, free: 28.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.5082, allocations: 323.1 kB / 0.5871 GB, free: 28.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.5086, allocations: 197.6 kB / 0.5873 GB, free: 27.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.5087, allocations: 352.7 kB / 0.5876 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.5103, allocations: 0.7001 MB / 0.5883 GB, free: 27.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.5122, allocations: 0.8336 MB / 0.5891 GB, free: 27.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/0.5154, allocations: 1.504 MB / 0.5906 GB, free: 26.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.5154, allocations: 0 / 0.5906 GB, free: 26.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01475/0.5301, allocations: 4.219 MB / 0.5947 GB, free: 25.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.5302, allocations: 7.062 kB / 0.5947 GB, free: 25.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.5302, allocations: 2.312 kB / 0.5947 GB, free: 25.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006801/0.537, allocations: 1.792 MB / 0.5964 GB, free: 24.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.5381, allocations: 191.4 kB / 0.5966 GB, free: 24.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/0.5616, allocations: 9.335 MB / 0.6057 GB, free: 20.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.5636, allocations: 166 kB / 0.6059 GB, free: 20.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00035/0.564, allocations: 37.3 kB / 0.6059 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002284/0.5663, allocations: 0.8487 MB / 0.6068 GB, free: 20.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00184/0.5681, allocations: 0.8223 MB / 0.6076 GB, free: 19.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003333/0.5715, allocations: 1.484 MB / 0.609 GB, free: 19.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.305e-06/0.5715, allocations: 6.266 kB / 0.609 GB, free: 19.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01355/0.5851, allocations: 4.204 MB / 0.6131 GB, free: 16.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.5851, allocations: 4 kB / 0.6131 GB, free: 16.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5852, allocations: 4 kB / 0.6131 GB, free: 16.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005825/0.591, allocations: 1.791 MB / 0.6149 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/0.592, allocations: 191.7 kB / 0.6151 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/0.6123, allocations: 9.315 MB / 0.6242 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.6141, allocations: 163 kB / 0.6243 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/0.6143, allocations: 38.62 kB / 0.6244 GB, free: 5 MB / 430.1 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 (106): * Single equations (assignments): 105 * 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.0004113/0.6147, allocations: 236 kB / 0.6246 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.615, allocations: 106.7 kB / 0.6247 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.6271, allocations: 3.904 MB / 0.6285 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.6272, allocations: 16 kB / 0.6285 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6272, allocations: 3.938 kB / 0.6285 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.6272, allocations: 3.984 kB / 0.6285 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/0.6428, allocations: 5.624 MB / 0.634 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.6429, allocations: 0.9375 kB / 0.634 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000695/0.6436, allocations: 103.9 kB / 0.6341 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006157/0.6498, allocations: 1.748 MB / 0.6358 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/0.65, allocations: 16 kB / 0.6358 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/0.6692, allocations: 8.097 MB / 0.6437 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6692, allocations: 0.5625 kB / 0.6437 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.6848, allocations: 4.821 MB / 0.6485 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/0.6853, allocations: 191.6 kB / 0.6486 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/0.6857, allocations: 16 kB / 0.6487 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.687, allocations: 105.2 kB / 0.6488 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007136/0.6877, allocations: 208.6 kB / 0.649 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.6878, allocations: 21.22 kB / 0.649 GB, free: 11.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008948/0.6887, allocations: 0.5589 MB / 0.6495 GB, free: 10.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6887, allocations: 0 / 0.6495 GB, free: 10.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002596/0.6913, allocations: 0.6827 MB / 0.6502 GB, free: 10.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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 (56): * Single equations (assignments): 55 * 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.01532/0.7067, allocations: 5.407 MB / 0.6555 GB, free: 4.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01312/0.7198, allocations: 4.214 MB / 0.6596 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7199, allocations: 4.125 kB / 0.6596 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005187/0.7251, allocations: 1.546 MB / 0.6611 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.7265, allocations: 88.98 kB / 0.6612 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04241/0.7689, allocations: 15.44 MB / 0.6763 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009065/0.7699, allocations: 1.077 MB / 0.6773 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007065/0.7706, allocations: 108.2 kB / 0.6774 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/0.7713, allocations: 411.3 kB / 0.6778 GB, free: 13.45 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.7713, allocations: 0 / 0.6778 GB, free: 13.45 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08699/0.8583, allocations: 40.33 MB / 0.7172 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.53, allocations: 13.44 kB / 0.7172 GB, free: 5.43 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)