Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.004243/0.004243, allocations: 167.7 kB / 15.13 MB, free: 6.02 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.461/1.461, allocations: 223.3 MB / 239.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008132/0.0008133, allocations: 98.36 kB / 290.3 MB, free: 13.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5111/0.5111, allocations: 78.63 MB / 420 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003876, allocations: 20 kB / 500 MB, free: 2.785 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.389, allocations: 69.35 MB / 0.556 GB, free: 38.46 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005973/0.395, allocations: 5.601 MB / 0.5615 GB, free: 37.64 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.3994, allocations: 1.804 MB / 0.5632 GB, free: 36.43 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.4006, allocations: 11.28 kB / 0.5632 GB, free: 36.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.4012, allocations: 153.9 kB / 0.5634 GB, free: 36.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.403, allocations: 0.5685 MB / 0.5639 GB, free: 35.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.4046, allocations: 0.5348 MB / 0.5644 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.4064, allocations: 1.224 MB / 0.5656 GB, free: 35.08 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/0.4069, allocations: 234.6 kB / 0.5659 GB, free: 34.97 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007454/0.4077, allocations: 484.8 kB / 0.5663 GB, free: 34.76 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000697/0.4084, allocations: 0.6068 MB / 0.5669 GB, free: 34.49 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.4085, allocations: 51.75 kB / 0.567 GB, free: 34.49 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005444/0.4091, allocations: 178.6 kB / 0.5671 GB, free: 34.45 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.4093, allocations: 211.7 kB / 0.5673 GB, free: 34.33 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.4095, allocations: 208 kB / 0.5675 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.4106, allocations: 1.064 MB / 0.5686 GB, free: 33.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4106, allocations: 1.031 kB / 0.5686 GB, free: 33.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4106, allocations: 3.938 kB / 0.5686 GB, free: 33.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.4106, allocations: 0 / 0.5686 GB, free: 33.86 MB / 426.7 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.007268/0.4179, allocations: 2.288 MB / 0.5708 GB, free: 32.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4179, allocations: 12.69 kB / 0.5708 GB, free: 32.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002406/0.4182, allocations: 122.2 kB / 0.5709 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004702/0.4229, allocations: 0.775 MB / 0.5717 GB, free: 32.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.4242, allocations: 0.7065 MB / 0.5724 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.4244, allocations: 264.2 kB / 0.5726 GB, free: 31.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.4246, allocations: 73.78 kB / 0.5727 GB, free: 31.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.4267, allocations: 1.163 MB / 0.5739 GB, free: 31.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4268, allocations: 0 / 0.5739 GB, free: 31.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.4269, allocations: 30 kB / 0.5739 GB, free: 31.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.4269, allocations: 21.97 kB / 0.5739 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.4291, allocations: 1.114 MB / 0.575 GB, free: 31.13 MB / 426.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.005778/0.4349, allocations: 3.588 MB / 0.5785 GB, free: 29.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.4371, allocations: 1.551 MB / 0.58 GB, free: 28.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.4385, allocations: 0.8159 MB / 0.5808 GB, free: 27.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-05/0.4386, allocations: 19.61 kB / 0.5808 GB, free: 27.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4386, allocations: 49.33 kB / 0.5809 GB, free: 27.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 2.364e-06/0.4386, allocations: 0 / 0.5809 GB, free: 27.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02578/0.4644, allocations: 7.937 MB / 0.5886 GB, free: 26.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.4645, allocations: 87.64 kB / 0.5887 GB, free: 26.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.4657, allocations: 0.8189 MB / 0.5895 GB, free: 25.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.4659, allocations: 41.67 kB / 0.5895 GB, free: 25.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.4663, allocations: 460.8 kB / 0.59 GB, free: 25.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.4666, allocations: 318.6 kB / 0.5903 GB, free: 25.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/0.4667, allocations: 19.88 kB / 0.5903 GB, free: 25.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.4668, allocations: 352.3 kB / 0.5906 GB, free: 24.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.4686, allocations: 0.7653 MB / 0.5914 GB, free: 24.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.4705, allocations: 0.9112 MB / 0.5923 GB, free: 24.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.4722, allocations: 0.8151 MB / 0.5931 GB, free: 23.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4723, allocations: 1.375 kB / 0.5931 GB, free: 23.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01526/0.4875, allocations: 5.127 MB / 0.5981 GB, free: 22.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.4877, allocations: 162 kB / 0.5982 GB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.4877, allocations: 5.422 kB / 0.5982 GB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007137/0.4948, allocations: 2.12 MB / 0.6003 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.4959, allocations: 189.8 kB / 0.6005 GB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02418/0.5201, allocations: 9.566 MB / 0.6098 GB, free: 17.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.522, allocations: 204.5 kB / 0.61 GB, free: 17.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.977e-05/0.5221, allocations: 43.14 kB / 0.6101 GB, free: 17.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.5221, allocations: 4 kB / 0.6101 GB, free: 17.64 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01442/0.5366, allocations: 4.974 MB / 0.6149 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.5366, allocations: 0 / 0.6149 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006149/0.5428, allocations: 2.108 MB / 0.617 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.5438, allocations: 191.7 kB / 0.6172 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.5629, allocations: 9.552 MB / 0.6265 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.5645, allocations: 195.1 kB / 0.6267 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.5646, allocations: 35.98 kB / 0.6267 GB, free: 1.09 MB / 426.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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004905/0.5651, allocations: 305 kB / 0.627 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.5653, allocations: 106.7 kB / 0.6271 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/0.5806, allocations: 4.828 MB / 0.6318 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.5806, allocations: 12 kB / 0.6318 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5806, allocations: 4 kB / 0.6318 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/0.5807, allocations: 3.984 kB / 0.6319 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.5972, allocations: 6.536 MB / 0.6382 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.5972, allocations: 0 / 0.6382 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.5979, allocations: 115.9 kB / 0.6383 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006463/0.6044, allocations: 2.057 MB / 0.6404 GB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.6046, allocations: 16 kB / 0.6404 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/0.623, allocations: 8.219 MB / 0.6484 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6231, allocations: 0 / 0.6484 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.6393, allocations: 5.813 MB / 0.6541 GB, free: 4.738 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.6398, allocations: 199.6 kB / 0.6543 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.64, allocations: 20 kB / 0.6543 GB, free: 4.504 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6411, allocations: 135.9 kB / 0.6544 GB, free: 4.371 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006106/0.6417, allocations: 204.6 kB / 0.6546 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/0.6418, allocations: 24 kB / 0.6546 GB, free: 4.148 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007383/0.6425, allocations: 0.551 MB / 0.6552 GB, free: 3.586 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6425, allocations: 0 / 0.6552 GB, free: 3.586 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002209/0.6447, allocations: 0.6827 MB / 0.6558 GB, free: 2.902 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01633/0.6611, allocations: 6.383 MB / 0.6621 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01274/0.6739, allocations: 4.636 MB / 0.6666 GB, free: 7.824 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.6739, allocations: 0 / 0.6666 GB, free: 7.824 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004928/0.6789, allocations: 1.736 MB / 0.6683 GB, free: 6.078 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/0.6799, allocations: 93.11 kB / 0.6684 GB, free: 5.984 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/0.7054, allocations: 11.15 MB / 0.6793 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.7062, allocations: 1.074 MB / 0.6803 GB, free: 9.434 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006325/0.7068, allocations: 106.7 kB / 0.6804 GB, free: 9.324 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/0.7074, allocations: 407.3 kB / 0.6808 GB, free: 8.926 MB / 490.7 MB Notification: Performance of SimCode: time 8.82e-07/0.7074, allocations: 0 / 0.6808 GB, free: 8.926 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0651/0.7725, allocations: 36.26 MB / 0.7162 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.7728, allocations: 207.2 kB / 0.7164 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/3.965, allocations: 64 / 0.7164 GB, free: 4.648 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)