Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.0008448/0.0008447, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 239 MB, free: 5.461 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.001005/0.001005, allocations: 176.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4634/0.4634, allocations: 78.56 MB / 419.9 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005164, allocations: 12 kB / 499.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.154, allocations: 69.36 MB / 0.5559 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.2861/0.4401, allocations: 5.635 MB / 0.5614 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004281/0.4444, allocations: 1.799 MB / 0.5632 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.4455, allocations: 14.03 kB / 0.5632 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.4461, allocations: 151 kB / 0.5633 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.448, allocations: 0.5759 MB / 0.5639 GB, free: 36.93 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001295/0.4493, allocations: 0.5304 MB / 0.5644 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.4507, allocations: 1.23 MB / 0.5656 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.4511, allocations: 233 kB / 0.5658 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005448/0.4516, allocations: 490.2 kB / 0.5663 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.4522, allocations: 0.6084 MB / 0.5669 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.856e-05/0.4523, allocations: 56.53 kB / 0.5669 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.4527, allocations: 170 kB / 0.5671 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.4529, allocations: 211 kB / 0.5673 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.453, allocations: 212 kB / 0.5675 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008352/0.4538, allocations: 1.057 MB / 0.5685 GB, free: 35.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4539, allocations: 13.7 kB / 0.5685 GB, free: 35.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4539, allocations: 5.188 kB / 0.5686 GB, free: 35.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.4539, allocations: 0 / 0.5686 GB, free: 35.85 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.00614/0.46, allocations: 2.277 MB / 0.5708 GB, free: 35.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4601, allocations: 9.156 kB / 0.5708 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.4603, allocations: 124.5 kB / 0.5709 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004454/0.4647, allocations: 0.7776 MB / 0.5717 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009834/0.4657, allocations: 0.6998 MB / 0.5723 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.4659, allocations: 269.9 kB / 0.5726 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.4661, allocations: 75.31 kB / 0.5727 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.468, allocations: 1.171 MB / 0.5738 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.468, allocations: 1.875 kB / 0.5738 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8e-05/0.4681, allocations: 28.81 kB / 0.5739 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.4681, allocations: 21.45 kB / 0.5739 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.4701, allocations: 1.115 MB / 0.575 GB, free: 34.27 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.004805/0.475, allocations: 3.538 MB / 0.5784 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.4769, allocations: 1.538 MB / 0.5799 GB, free: 31.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.4782, allocations: 0.8151 MB / 0.5807 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.4784, allocations: 17.41 kB / 0.5807 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.4784, allocations: 41.88 kB / 0.5808 GB, free: 31.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.825e-06/0.4784, allocations: 0 / 0.5808 GB, free: 31.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02657/0.505, allocations: 8.509 MB / 0.5891 GB, free: 29.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.5051, allocations: 86.64 kB / 0.5892 GB, free: 29.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.5062, allocations: 0.8245 MB / 0.59 GB, free: 29.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000222/0.5064, allocations: 41.23 kB / 0.59 GB, free: 29.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.5067, allocations: 445.8 kB / 0.5904 GB, free: 28.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.507, allocations: 335.4 kB / 0.5908 GB, free: 28.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.5071, allocations: 20.16 kB / 0.5908 GB, free: 28.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.5072, allocations: 354.3 kB / 0.5911 GB, free: 28.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.5088, allocations: 0.7779 MB / 0.5919 GB, free: 27.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.5104, allocations: 0.9082 MB / 0.5928 GB, free: 27.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.512, allocations: 0.8315 MB / 0.5936 GB, free: 27.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.512, allocations: 4.938 kB / 0.5936 GB, free: 27.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01411/0.5261, allocations: 5.112 MB / 0.5986 GB, free: 26.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/0.5263, allocations: 160.7 kB / 0.5987 GB, free: 25.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.5263, allocations: 2.703 kB / 0.5987 GB, free: 25.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006604/0.5329, allocations: 2.103 MB / 0.6008 GB, free: 25.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.5341, allocations: 203.5 kB / 0.601 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/0.5566, allocations: 9.539 MB / 0.6103 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.5583, allocations: 210.2 kB / 0.6105 GB, free: 21.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.5585, allocations: 37.59 kB / 0.6105 GB, free: 21.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5585, allocations: 7.469 kB / 0.6105 GB, free: 21.32 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01255/0.5711, allocations: 4.973 MB / 0.6154 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.5711, allocations: 0.8594 kB / 0.6154 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005544/0.5767, allocations: 2.107 MB / 0.6174 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/0.5777, allocations: 191.8 kB / 0.6176 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/0.596, allocations: 9.524 MB / 0.6269 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.5976, allocations: 195.1 kB / 0.6271 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.5978, allocations: 39.98 kB / 0.6272 GB, free: 4.734 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 (110): * Single equations (assignments): 109 * 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.0006564/0.5985, allocations: 308.8 kB / 0.6274 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.5988, allocations: 110.7 kB / 0.6276 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.6103, allocations: 4.814 MB / 0.6323 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.6103, allocations: 9.078 kB / 0.6323 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6104, allocations: 0.875 kB / 0.6323 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/0.6104, allocations: 3.984 kB / 0.6323 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.6255, allocations: 6.491 MB / 0.6386 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.6256, allocations: 3.938 kB / 0.6386 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/0.6263, allocations: 119.9 kB / 0.6387 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006132/0.6325, allocations: 2.057 MB / 0.6407 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/0.6328, allocations: 16.69 kB / 0.6407 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/0.6503, allocations: 8.193 MB / 0.6487 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6503, allocations: 1.766 kB / 0.6487 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.6659, allocations: 5.848 MB / 0.6545 GB, free: 8.438 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.6664, allocations: 199.4 kB / 0.6547 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.6665, allocations: 16 kB / 0.6547 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009285/0.6675, allocations: 143.9 kB / 0.6548 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006099/0.6681, allocations: 200.6 kB / 0.655 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.058e-05/0.6682, allocations: 27.98 kB / 0.655 GB, free: 7.844 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006995/0.6689, allocations: 0.5393 MB / 0.6555 GB, free: 7.293 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6689, allocations: 0.9375 kB / 0.6555 GB, free: 7.293 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002042/0.6709, allocations: 0.6905 MB / 0.6562 GB, free: 6.602 MB / 462.1 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 (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.01514/0.6861, allocations: 6.406 MB / 0.6625 GB, free: 160 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01152/0.6977, allocations: 4.65 MB / 0.667 GB, free: 11.49 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.6977, allocations: 0 / 0.667 GB, free: 11.49 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004434/0.7021, allocations: 1.747 MB / 0.6687 GB, free: 9.734 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009432/0.7031, allocations: 91.38 kB / 0.6688 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/0.7267, allocations: 11.18 MB / 0.6797 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.7275, allocations: 1.082 MB / 0.6808 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006317/0.7282, allocations: 99.41 kB / 0.6809 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/0.7287, allocations: 403.3 kB / 0.6813 GB, free: 12.6 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7287, allocations: 0 / 0.6813 GB, free: 12.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06161/0.7904, allocations: 36.19 MB / 0.7166 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.7906, allocations: 198.4 kB / 0.7168 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.522, allocations: 0 / 0.7168 GB, free: 8.523 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1) Environment - environmentSimulation: