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.008545/0.008545, allocations: 103.4 kB / 15.74 MB, free: 5.957 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.452/1.452, allocations: 222.9 MB / 239.4 MB, free: 4.453 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.001652/0.001652, allocations: 187.3 kB / 289.7 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6223/0.6223, allocations: 78.52 MB / 418.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00299/0.00299, allocations: 83.88 kB / 0.5536 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3782, allocations: 68.16 MB / 0.6202 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005522/0.3838, allocations: 6.135 MB / 0.6262 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.3873, allocations: 1.848 MB / 0.628 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.3883, allocations: 12 kB / 0.628 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.3892, allocations: 214.2 kB / 0.6282 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.3915, allocations: 0.7463 MB / 0.6289 GB, free: 1.203 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.001423/0.393, allocations: 0.6329 MB / 0.6295 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.3948, allocations: 1.366 MB / 0.6309 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006395/0.3955, allocations: 299.2 kB / 0.6312 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.3965, allocations: 0.5563 MB / 0.6317 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.3977, allocations: 0.6844 MB / 0.6324 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.3981, allocations: 100 kB / 0.6325 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009337/0.3991, allocations: 235.9 kB / 0.6327 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005403/0.3996, allocations: 266.9 kB / 0.633 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.4008, allocations: 0.5786 MB / 0.6335 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.4027, allocations: 1.461 MB / 0.6349 GB, free: 11.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4027, allocations: 0 / 0.6349 GB, free: 11.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4027, allocations: 0 / 0.6349 GB, free: 11.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.322e-05/0.4028, allocations: 0 / 0.6349 GB, free: 11.02 MB / 446.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.008628/0.4114, allocations: 2.438 MB / 0.6373 GB, free: 8.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.4115, allocations: 12.03 kB / 0.6373 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005215/0.4167, allocations: 0.7595 MB / 0.6381 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.4185, allocations: 0.7399 MB / 0.6388 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003336/0.4188, allocations: 256.2 kB / 0.639 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.419, allocations: 76 kB / 0.6391 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.4217, allocations: 1.098 MB / 0.6402 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.4218, allocations: 0 / 0.6402 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.4219, allocations: 39.88 kB / 0.6402 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.4219, allocations: 20 kB / 0.6402 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.4245, allocations: 1.019 MB / 0.6412 GB, free: 4.422 MB / 446.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.007331/0.4318, allocations: 3.453 MB / 0.6446 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.4347, allocations: 1.445 MB / 0.646 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.4364, allocations: 0.7417 MB / 0.6467 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.4366, allocations: 16.98 kB / 0.6468 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/0.4366, allocations: 39.56 kB / 0.6468 GB, free: 14.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.306e-06/0.4366, allocations: 3.938 kB / 0.6468 GB, free: 14.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=90): time 0.02887/0.4655, allocations: 6.89 MB / 0.6535 GB, free: 7.512 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.4656, allocations: 94.03 kB / 0.6536 GB, free: 7.402 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.4674, allocations: 0.8241 MB / 0.6544 GB, free: 6.555 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003788/0.4678, allocations: 49.7 kB / 0.6545 GB, free: 6.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/0.4684, allocations: 444.7 kB / 0.6549 GB, free: 6.059 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007181/0.4691, allocations: 327.3 kB / 0.6552 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006636/0.4698, allocations: 202.8 kB / 0.6554 GB, free: 5.527 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4699, allocations: 349.9 kB / 0.6557 GB, free: 5.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.4717, allocations: 0.7048 MB / 0.6564 GB, free: 4.473 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.4736, allocations: 0.8393 MB / 0.6572 GB, free: 3.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/0.4771, allocations: 1.521 MB / 0.6587 GB, free: 2.043 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.4772, allocations: 0 / 0.6587 GB, free: 2.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01532/0.4925, allocations: 4.226 MB / 0.6629 GB, free: 13.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.4926, allocations: 8 kB / 0.6629 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.4926, allocations: 0 / 0.6629 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006982/0.4996, allocations: 1.791 MB / 0.6646 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.5008, allocations: 199.7 kB / 0.6648 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02979/0.5307, allocations: 9.299 MB / 0.6739 GB, free: 2.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.5329, allocations: 170.8 kB / 0.6741 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/0.5334, allocations: 40 kB / 0.6741 GB, free: 2.152 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00322/0.5366, allocations: 0.8616 MB / 0.6749 GB, free: 1.289 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002551/0.5392, allocations: 0.8276 MB / 0.6757 GB, free: 436 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004711/0.5439, allocations: 1.498 MB / 0.6772 GB, free: 14.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-05/0.544, allocations: 0 / 0.6772 GB, free: 14.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01967/0.5636, allocations: 4.199 MB / 0.6813 GB, free: 10.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.5637, allocations: 8 kB / 0.6813 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.5637, allocations: 4 kB / 0.6813 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00883/0.5726, allocations: 1.796 MB / 0.6831 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.5742, allocations: 183.8 kB / 0.6832 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02716/0.6014, allocations: 9.311 MB / 0.6923 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.6031, allocations: 155 kB / 0.6925 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.6033, allocations: 43.98 kB / 0.6925 GB, free: 15.04 MB / 0.4981 GB 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.0004393/0.6038, allocations: 228.7 kB / 0.6927 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.6041, allocations: 106.6 kB / 0.6928 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.6182, allocations: 3.907 MB / 0.6967 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.6183, allocations: 12 kB / 0.6967 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.6183, allocations: 4 kB / 0.6967 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/0.6183, allocations: 3.984 kB / 0.6967 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.6351, allocations: 5.571 MB / 0.7021 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.6352, allocations: 4.062 kB / 0.7021 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.6359, allocations: 103.9 kB / 0.7022 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006381/0.6423, allocations: 1.749 MB / 0.7039 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.6425, allocations: 16 kB / 0.7039 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/0.6626, allocations: 8.044 MB / 0.7118 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6627, allocations: 0 / 0.7118 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/0.6785, allocations: 4.858 MB / 0.7165 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.6789, allocations: 195.5 kB / 0.7167 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.6791, allocations: 23.94 kB / 0.7168 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.6803, allocations: 103.9 kB / 0.7169 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006731/0.681, allocations: 200.7 kB / 0.717 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.835e-05/0.6811, allocations: 23.98 kB / 0.7171 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008145/0.6819, allocations: 0.551 MB / 0.7176 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6819, allocations: 0 / 0.7176 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002213/0.6842, allocations: 0.6866 MB / 0.7183 GB, free: 4.297 MB / 0.5137 GB 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.0003633/0.6845, allocations: 131.8 kB / 0.7184 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01264/0.6972, allocations: 4.192 MB / 0.7225 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6972, allocations: 0 / 0.7225 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005137/0.7024, allocations: 1.555 MB / 0.724 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.7034, allocations: 83.44 kB / 0.7241 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.708, allocations: 2.039 MB / 0.7261 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008385/0.7088, allocations: 1.081 MB / 0.7271 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005688/0.7094, allocations: 106.6 kB / 0.7272 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.7097, allocations: 63.42 kB / 0.7273 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.7097, allocations: 0 / 0.7273 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.04918/0.7589, allocations: 31.59 MB / 0.7582 GB, free: 11.35 MB / 0.5606 GB 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)