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.001213/0.001213, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.278/1.278, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001019/0.001019, allocations: 181.1 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4509/0.4509, allocations: 78.52 MB / 419.8 MB, free: 4.391 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 12 kB / 499.8 MB, free: 6.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1219, allocations: 69.36 MB / 0.5558 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.2149/0.3368, allocations: 5.352 MB / 0.561 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003408/0.3403, allocations: 1.827 MB / 0.5628 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006259/0.3409, allocations: 12.22 kB / 0.5628 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004513/0.3414, allocations: 149.7 kB / 0.5629 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.3431, allocations: 0.6407 MB / 0.5636 GB, free: 36.8 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.001256/0.3444, allocations: 0.5246 MB / 0.5641 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.3456, allocations: 0.8818 MB / 0.5649 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.3461, allocations: 231.9 kB / 0.5652 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006782/0.3468, allocations: 487.5 kB / 0.5656 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006636/0.3475, allocations: 0.5953 MB / 0.5662 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.3476, allocations: 55.22 kB / 0.5663 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.348, allocations: 164.6 kB / 0.5664 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.3482, allocations: 205.9 kB / 0.5666 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.3484, allocations: 207.3 kB / 0.5668 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009284/0.3493, allocations: 1.023 MB / 0.5678 GB, free: 36.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3493, allocations: 0 / 0.5678 GB, free: 36.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3493, allocations: 1.406 kB / 0.5678 GB, free: 36.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.3494, allocations: 0.5625 kB / 0.5678 GB, free: 36.19 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.00699/0.3563, allocations: 2.294 MB / 0.57 GB, free: 35.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3564, allocations: 10.88 kB / 0.5701 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/0.3566, allocations: 119 kB / 0.5702 GB, free: 35.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.3613, allocations: 0.7819 MB / 0.5709 GB, free: 35.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3623, allocations: 0.6948 MB / 0.5716 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.3626, allocations: 268.1 kB / 0.5719 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.3627, allocations: 75.22 kB / 0.5719 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.3649, allocations: 1.166 MB / 0.5731 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3649, allocations: 1.078 kB / 0.5731 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/0.365, allocations: 26.25 kB / 0.5731 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.365, allocations: 21.45 kB / 0.5731 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.3672, allocations: 1.113 MB / 0.5742 GB, free: 34.61 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.005381/0.3725, allocations: 3.635 MB / 0.5778 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.3748, allocations: 1.541 MB / 0.5793 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.442e-05/0.3749, allocations: 19.52 kB / 0.5793 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.3749, allocations: 45.75 kB / 0.5793 GB, free: 31.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.645e-06/0.3749, allocations: 0 / 0.5793 GB, free: 31.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02895/0.4039, allocations: 8.494 MB / 0.5876 GB, free: 30.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.404, allocations: 90.11 kB / 0.5877 GB, free: 30.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4052, allocations: 0.8177 MB / 0.5885 GB, free: 29.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002273/0.4054, allocations: 41.8 kB / 0.5885 GB, free: 29.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.4057, allocations: 454.9 kB / 0.589 GB, free: 29.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.4061, allocations: 326.2 kB / 0.5893 GB, free: 29.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.4062, allocations: 20.72 kB / 0.5893 GB, free: 29.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.4063, allocations: 349.2 kB / 0.5896 GB, free: 28.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.408, allocations: 0.777 MB / 0.5904 GB, free: 28.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.4097, allocations: 0.9153 MB / 0.5913 GB, free: 28.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.4116, allocations: 0.8274 MB / 0.5921 GB, free: 27.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.4116, allocations: 0.9688 kB / 0.5921 GB, free: 27.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01573/0.4273, allocations: 5.116 MB / 0.5971 GB, free: 26.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.4277, allocations: 0.8806 MB / 0.598 GB, free: 25.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4277, allocations: 6.844 kB / 0.598 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007276/0.435, allocations: 2.099 MB / 0.6 GB, free: 25.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.4361, allocations: 207.3 kB / 0.6002 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/0.4592, allocations: 9.99 MB / 0.61 GB, free: 21.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.4608, allocations: 209.1 kB / 0.6102 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.4609, allocations: 38.59 kB / 0.6102 GB, free: 20.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.461, allocations: 4.188 kB / 0.6102 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01433/0.4753, allocations: 4.969 MB / 0.6151 GB, free: 17.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.4754, allocations: 8.625 kB / 0.6151 GB, free: 17.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/0.4816, allocations: 2.092 MB / 0.6171 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009919/0.4826, allocations: 202.7 kB / 0.6173 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.5028, allocations: 9.983 MB / 0.6271 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.5043, allocations: 200.9 kB / 0.6273 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/0.5045, allocations: 36 kB / 0.6273 GB, free: 4.379 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.0004932/0.505, allocations: 312.9 kB / 0.6276 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.5051, allocations: 106.7 kB / 0.6277 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/0.5184, allocations: 4.814 MB / 0.6324 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.5185, allocations: 12 kB / 0.6324 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5185, allocations: 0.8438 kB / 0.6324 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/0.5185, allocations: 3.984 kB / 0.6324 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/0.5353, allocations: 6.493 MB / 0.6387 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.5354, allocations: 4 kB / 0.6387 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/0.5361, allocations: 116.6 kB / 0.6389 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006226/0.5423, allocations: 2.051 MB / 0.6409 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/0.5425, allocations: 19.98 kB / 0.6409 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/0.5616, allocations: 8.641 MB / 0.6493 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5616, allocations: 0 / 0.6493 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/0.5774, allocations: 5.865 MB / 0.655 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.5778, allocations: 203.5 kB / 0.6552 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.578, allocations: 19.95 kB / 0.6553 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.579, allocations: 141.2 kB / 0.6554 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005455/0.5796, allocations: 196.6 kB / 0.6556 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.5797, allocations: 29.39 kB / 0.6556 GB, free: 7.016 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006521/0.5803, allocations: 0.5432 MB / 0.6561 GB, free: 6.461 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5803, allocations: 0 / 0.6561 GB, free: 6.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001841/0.5822, allocations: 0.6905 MB / 0.6568 GB, free: 5.77 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.01636/0.5986, allocations: 6.586 MB / 0.6632 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01222/0.6108, allocations: 4.635 MB / 0.6678 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6109, allocations: 4.062 kB / 0.6678 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004818/0.6157, allocations: 1.742 MB / 0.6695 GB, free: 8.734 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.6164, allocations: 76.55 kB / 0.6696 GB, free: 8.656 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.6214, allocations: 4.277 MB / 0.6737 GB, free: 4.312 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.622, allocations: 1.097 MB / 0.6748 GB, free: 3.188 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004412/0.6225, allocations: 103.3 kB / 0.6749 GB, free: 3.086 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.623, allocations: 403.3 kB / 0.6753 GB, free: 2.691 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.623, allocations: 0 / 0.6753 GB, free: 2.691 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05772/0.6807, allocations: 35.58 MB / 0.71 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.681, allocations: 192 kB / 0.7102 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/3.294, allocations: 3.5 kB / 0.7102 GB, free: 15.23 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: