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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.244/1.244, allocations: 222.9 MB / 239 MB, free: 4.645 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.00134/0.00134, allocations: 196.4 kB / 289.3 MB, free: 2.383 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4479/0.4479, allocations: 78.51 MB / 417.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 75.88 kB / 496.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1149, allocations: 68.18 MB / 0.5519 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.2501/0.365, allocations: 6.455 MB / 0.5582 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.3692, allocations: 1.903 MB / 0.56 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.3706, allocations: 11.81 kB / 0.5601 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008617/0.3714, allocations: 160.9 kB / 0.5602 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.3738, allocations: 0.6175 MB / 0.5608 GB, free: 35.3 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.001463/0.3753, allocations: 0.5826 MB / 0.5614 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.377, allocations: 1.348 MB / 0.5627 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.3775, allocations: 297.1 kB / 0.563 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007957/0.3783, allocations: 0.5589 MB / 0.5635 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.3789, allocations: 0.6888 MB / 0.5642 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.379, allocations: 97.09 kB / 0.5643 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.3794, allocations: 234.6 kB / 0.5645 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.3796, allocations: 268.7 kB / 0.5648 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.3801, allocations: 0.582 MB / 0.5653 GB, free: 34.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.3815, allocations: 1.443 MB / 0.5667 GB, free: 34.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3816, allocations: 3.25 kB / 0.5667 GB, free: 34.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3816, allocations: 0 / 0.5667 GB, free: 34.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.3816, allocations: 2.812 kB / 0.5667 GB, free: 34.21 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.007692/0.3893, allocations: 2.444 MB / 0.5691 GB, free: 33.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.24e-05/0.3894, allocations: 11.5 kB / 0.5691 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004889/0.3943, allocations: 0.765 MB / 0.5699 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.3954, allocations: 0.7352 MB / 0.5706 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.3956, allocations: 256.3 kB / 0.5709 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.3958, allocations: 78.8 kB / 0.5709 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.3978, allocations: 1.095 MB / 0.572 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.3978, allocations: 3.828 kB / 0.572 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/0.3979, allocations: 28.56 kB / 0.572 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.398, allocations: 18.28 kB / 0.572 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.3999, allocations: 1.026 MB / 0.5731 GB, free: 32.64 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.005812/0.4057, allocations: 3.468 MB / 0.5764 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.4079, allocations: 1.435 MB / 0.5778 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.4091, allocations: 0.7428 MB / 0.5786 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.4092, allocations: 14.62 kB / 0.5786 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4093, allocations: 48 kB / 0.5786 GB, free: 30.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.236e-06/0.4093, allocations: 0 / 0.5786 GB, free: 30.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02598/0.4353, allocations: 6.896 MB / 0.5854 GB, free: 29.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.4354, allocations: 87.83 kB / 0.5854 GB, free: 29.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.4366, allocations: 0.8176 MB / 0.5862 GB, free: 28.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.4368, allocations: 45.58 kB / 0.5863 GB, free: 28.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.4371, allocations: 444 kB / 0.5867 GB, free: 28.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.4374, allocations: 330.2 kB / 0.587 GB, free: 28.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/0.4378, allocations: 202.9 kB / 0.5872 GB, free: 27.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.4379, allocations: 352.6 kB / 0.5876 GB, free: 27.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.4393, allocations: 0.7141 MB / 0.5882 GB, free: 27.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.4409, allocations: 0.844 MB / 0.5891 GB, free: 26.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002894/0.4438, allocations: 1.515 MB / 0.5906 GB, free: 26.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.4438, allocations: 0 / 0.5906 GB, free: 26.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01419/0.458, allocations: 4.229 MB / 0.5947 GB, free: 25.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.4581, allocations: 6.719 kB / 0.5947 GB, free: 25.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.4581, allocations: 4.953 kB / 0.5947 GB, free: 25.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00641/0.4645, allocations: 1.793 MB / 0.5964 GB, free: 24.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.4656, allocations: 199.7 kB / 0.5966 GB, free: 24.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/0.4866, allocations: 9.315 MB / 0.6057 GB, free: 20.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.4882, allocations: 165.2 kB / 0.6059 GB, free: 20.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4883, allocations: 38.42 kB / 0.6059 GB, free: 20.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001696/0.49, allocations: 0.8624 MB / 0.6068 GB, free: 20.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001443/0.4914, allocations: 0.8313 MB / 0.6076 GB, free: 19.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002622/0.4941, allocations: 1.495 MB / 0.609 GB, free: 18.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.85e-06/0.4941, allocations: 1.531 kB / 0.609 GB, free: 18.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.0121/0.5062, allocations: 4.216 MB / 0.6132 GB, free: 16.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5062, allocations: 11.98 kB / 0.6132 GB, free: 16.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.5062, allocations: 4.875 kB / 0.6132 GB, free: 16.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005334/0.5116, allocations: 1.783 MB / 0.6149 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/0.5125, allocations: 187.7 kB / 0.6151 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01787/0.5304, allocations: 9.315 MB / 0.6242 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.5318, allocations: 151.2 kB / 0.6243 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/0.5319, allocations: 39.98 kB / 0.6244 GB, free: 4.703 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 (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.0002918/0.5322, allocations: 236.5 kB / 0.6246 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.5324, allocations: 110.6 kB / 0.6247 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.5436, allocations: 3.904 MB / 0.6285 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.5436, allocations: 8 kB / 0.6285 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5436, allocations: 0.9375 kB / 0.6285 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.5437, allocations: 8.859 kB / 0.6285 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.5579, allocations: 5.581 MB / 0.634 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.558, allocations: 0 / 0.634 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.5585, allocations: 103.9 kB / 0.6341 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005479/0.564, allocations: 1.756 MB / 0.6358 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.022e-05/0.5641, allocations: 16 kB / 0.6358 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0172/0.5813, allocations: 8.066 MB / 0.6437 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.5814, allocations: 3.984 kB / 0.6437 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/0.5953, allocations: 4.853 MB / 0.6484 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.5957, allocations: 195.5 kB / 0.6486 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.5959, allocations: 20.92 kB / 0.6486 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/0.5968, allocations: 95.89 kB / 0.6487 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005926/0.5974, allocations: 208.7 kB / 0.6489 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.851e-05/0.5975, allocations: 21 kB / 0.649 GB, free: 11.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006292/0.5981, allocations: 0.5549 MB / 0.6495 GB, free: 10.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5982, allocations: 4 kB / 0.6495 GB, free: 10.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001756/0.5999, allocations: 0.6866 MB / 0.6502 GB, free: 9.918 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 (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.0002359/0.6002, allocations: 130.6 kB / 0.6503 GB, free: 9.785 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0111/0.6113, allocations: 4.23 MB / 0.6544 GB, free: 5.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6113, allocations: 4.062 kB / 0.6544 GB, free: 5.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004278/0.6156, allocations: 1.552 MB / 0.6559 GB, free: 3.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008053/0.6164, allocations: 84.3 kB / 0.656 GB, free: 3.895 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.6202, allocations: 2.443 MB / 0.6584 GB, free: 1.461 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.6207, allocations: 1.081 MB / 0.6595 GB, free: 360 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004654/0.6212, allocations: 103.4 kB / 0.6596 GB, free: 256 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.6214, allocations: 63.44 kB / 0.6596 GB, free: 192 kB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6214, allocations: 0 / 0.6596 GB, free: 192 kB / 462.1 MB Notification: Performance of Templates: time 0.03999/0.6614, allocations: 30.28 MB / 0.6892 GB, free: 2.09 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)