Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0068/0.0068, allocations: 167.8 kB / 15.13 MB, free: 6.023 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.33/1.33, allocations: 223.3 MB / 239.1 MB, free: 8 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007544/0.0007546, allocations: 102.5 kB / 290.3 MB, free: 4.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4461/0.4461, allocations: 78.61 MB / 420 MB, free: 36.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 12 kB / 499.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 69.35 MB / 0.5559 GB, free: 1.816 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005414/0.1356, allocations: 5.644 MB / 0.5614 GB, free: 12.14 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004266/0.1399, allocations: 1.799 MB / 0.5632 GB, free: 10.34 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009919/0.141, allocations: 8 kB / 0.5632 GB, free: 10.33 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.1415, allocations: 158.9 kB / 0.5633 GB, free: 10.18 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.1435, allocations: 0.5849 MB / 0.5639 GB, free: 9.594 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001517/0.145, allocations: 0.533 MB / 0.5644 GB, free: 9.066 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.1465, allocations: 1.222 MB / 0.5656 GB, free: 7.84 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.147, allocations: 235.4 kB / 0.5658 GB, free: 7.598 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006574/0.1476, allocations: 493.8 kB / 0.5663 GB, free: 7.113 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.1483, allocations: 0.6027 MB / 0.5669 GB, free: 6.508 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.1484, allocations: 52 kB / 0.567 GB, free: 6.457 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.1488, allocations: 171.9 kB / 0.5671 GB, free: 6.289 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.149, allocations: 211 kB / 0.5673 GB, free: 6.082 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.1492, allocations: 209 kB / 0.5675 GB, free: 5.871 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000981/0.1502, allocations: 1.071 MB / 0.5686 GB, free: 4.797 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1502, allocations: 0 / 0.5686 GB, free: 4.797 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1502, allocations: 4 kB / 0.5686 GB, free: 4.793 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.1502, allocations: 0 / 0.5686 GB, free: 4.793 MB / 442.7 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.007173/0.1574, allocations: 2.279 MB / 0.5708 GB, free: 2.461 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1574, allocations: 16.02 kB / 0.5708 GB, free: 2.445 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.1625, allocations: 0.7789 MB / 0.5716 GB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.1639, allocations: 0.7017 MB / 0.5723 GB, free: 0.918 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.1642, allocations: 268.2 kB / 0.5725 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.1643, allocations: 75.94 kB / 0.5726 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2232/0.3875, allocations: 1.161 MB / 0.5737 GB, free: 44.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3876, allocations: 0 / 0.5737 GB, free: 44.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/0.3877, allocations: 29.66 kB / 0.5737 GB, free: 44.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.3877, allocations: 21.39 kB / 0.5738 GB, free: 44.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.39, allocations: 1.114 MB / 0.5749 GB, free: 44.38 MB / 442.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.005565/0.3956, allocations: 3.529 MB / 0.5783 GB, free: 43.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.3978, allocations: 1.539 MB / 0.5798 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.3993, allocations: 0.8183 MB / 0.5806 GB, free: 42.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.032e-05/0.3994, allocations: 19.88 kB / 0.5806 GB, free: 42.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.3994, allocations: 42.81 kB / 0.5807 GB, free: 42.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=90): time 2.555e-06/0.3994, allocations: 1.781 kB / 0.5807 GB, free: 42.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.03102/0.4305, allocations: 8.513 MB / 0.589 GB, free: 42.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.4306, allocations: 87.52 kB / 0.5891 GB, free: 42.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.4318, allocations: 0.8097 MB / 0.5899 GB, free: 42.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.4321, allocations: 49.03 kB / 0.5899 GB, free: 42.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.4325, allocations: 447.2 kB / 0.5903 GB, free: 41.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/0.433, allocations: 328.4 kB / 0.5906 GB, free: 41.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.4332, allocations: 21.75 kB / 0.5907 GB, free: 41.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4333, allocations: 349.2 kB / 0.591 GB, free: 41.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.4352, allocations: 0.7785 MB / 0.5918 GB, free: 41.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.437, allocations: 0.9169 MB / 0.5926 GB, free: 41.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.4386, allocations: 0.8314 MB / 0.5935 GB, free: 40.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4387, allocations: 0 / 0.5935 GB, free: 40.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01408/0.4527, allocations: 5.119 MB / 0.5985 GB, free: 39.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.66e-05/0.4528, allocations: 158.9 kB / 0.5986 GB, free: 39.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4529, allocations: 7.062 kB / 0.5986 GB, free: 39.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006636/0.4595, allocations: 2.107 MB / 0.6007 GB, free: 39.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.4605, allocations: 199.3 kB / 0.6009 GB, free: 39.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.4813, allocations: 9.541 MB / 0.6102 GB, free: 35.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.4829, allocations: 209.5 kB / 0.6104 GB, free: 34.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.4832, allocations: 39.03 kB / 0.6104 GB, free: 34.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4832, allocations: 3.688 kB / 0.6104 GB, free: 34.93 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01537/0.4986, allocations: 4.964 MB / 0.6153 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.4987, allocations: 3.281 kB / 0.6153 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006909/0.5056, allocations: 2.1 MB / 0.6173 GB, free: 33.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.5067, allocations: 196.2 kB / 0.6175 GB, free: 33.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/0.5299, allocations: 9.528 MB / 0.6268 GB, free: 29.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.5317, allocations: 188.2 kB / 0.627 GB, free: 29.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.5319, allocations: 52.41 kB / 0.627 GB, free: 29.32 MB / 442.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 (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.0006672/0.5326, allocations: 305.1 kB / 0.6273 GB, free: 29.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.5329, allocations: 104.9 kB / 0.6274 GB, free: 29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.5467, allocations: 4.823 MB / 0.6321 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.5468, allocations: 8 kB / 0.6322 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5468, allocations: 1 kB / 0.6322 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.5468, allocations: 3.422 kB / 0.6322 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.5621, allocations: 6.498 MB / 0.6385 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.5622, allocations: 1.406 kB / 0.6385 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.5629, allocations: 119.9 kB / 0.6386 GB, free: 19.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005957/0.5688, allocations: 2.047 MB / 0.6406 GB, free: 17.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.569, allocations: 22.05 kB / 0.6406 GB, free: 17.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/0.5859, allocations: 8.192 MB / 0.6486 GB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5859, allocations: 3.953 kB / 0.6486 GB, free: 9.484 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.6009, allocations: 5.838 MB / 0.6543 GB, free: 3.621 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.6012, allocations: 199.5 kB / 0.6545 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.6015, allocations: 16 kB / 0.6545 GB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.6026, allocations: 143.9 kB / 0.6547 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005948/0.6032, allocations: 205.9 kB / 0.6549 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.6033, allocations: 24.55 kB / 0.6549 GB, free: 3.027 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005876/0.6039, allocations: 0.5432 MB / 0.6554 GB, free: 2.473 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6039, allocations: 0 / 0.6554 GB, free: 2.473 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001902/0.6058, allocations: 0.6881 MB / 0.6561 GB, free: 1.785 MB / 442.7 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.0002639/0.6061, allocations: 132 kB / 0.6562 GB, free: 1.648 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01205/0.6182, allocations: 4.642 MB / 0.6608 GB, free: 13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6182, allocations: 0 / 0.6608 GB, free: 13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004938/0.6232, allocations: 1.748 MB / 0.6625 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.6241, allocations: 84.27 kB / 0.6626 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.6281, allocations: 2.423 MB / 0.6649 GB, free: 8.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.6288, allocations: 1.082 MB / 0.666 GB, free: 7.641 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005072/0.6293, allocations: 103.2 kB / 0.6661 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.6296, allocations: 59.44 kB / 0.6661 GB, free: 7.484 MB / 458.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6296, allocations: 0 / 0.6661 GB, free: 7.484 MB / 458.7 MB Notification: Performance of Templates: time 0.04264/0.6722, allocations: 27.12 MB / 0.6926 GB, free: 12.53 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)