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.001742/0.001742, allocations: 100.8 kB / 16.35 MB, free: 5.875 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.522/1.522, allocations: 222.9 MB / 240 MB, free: 4.52 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.001238/0.001238, allocations: 188.5 kB / 290.3 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4665/0.4665, allocations: 78.52 MB / 419 MB, free: 3.098 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 83.88 kB / 498.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1398, allocations: 68.18 MB / 0.5538 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.2634/0.4032, allocations: 6.116 MB / 0.5597 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.407, allocations: 1.865 MB / 0.5616 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.408, allocations: 11.47 kB / 0.5616 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.4087, allocations: 204.7 kB / 0.5618 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.4108, allocations: 0.696 MB / 0.5625 GB, free: 35.4 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.001487/0.4123, allocations: 0.6324 MB / 0.5631 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.4138, allocations: 1.363 MB / 0.5644 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.4143, allocations: 285.8 kB / 0.5647 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006703/0.415, allocations: 0.564 MB / 0.5652 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00059/0.4156, allocations: 0.6871 MB / 0.5659 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.4157, allocations: 94.78 kB / 0.566 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.4162, allocations: 233.8 kB / 0.5662 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.4164, allocations: 267.4 kB / 0.5665 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005027/0.4169, allocations: 0.5813 MB / 0.567 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.4185, allocations: 1.457 MB / 0.5685 GB, free: 34.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4185, allocations: 3.375 kB / 0.5685 GB, free: 34.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4185, allocations: 0 / 0.5685 GB, free: 34.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.4185, allocations: 1.406 kB / 0.5685 GB, free: 34.11 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.007106/0.4256, allocations: 2.441 MB / 0.5708 GB, free: 33.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.4257, allocations: 9 kB / 0.5709 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/0.4304, allocations: 0.7705 MB / 0.5716 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.4316, allocations: 0.7396 MB / 0.5723 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.4319, allocations: 257.5 kB / 0.5726 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.432, allocations: 71.88 kB / 0.5726 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.434, allocations: 1.095 MB / 0.5737 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.434, allocations: 7.188 kB / 0.5737 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/0.4341, allocations: 31.09 kB / 0.5737 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.4341, allocations: 15.75 kB / 0.5738 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.436, allocations: 1.026 MB / 0.5748 GB, free: 32.52 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.005445/0.4415, allocations: 3.449 MB / 0.5781 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.4435, allocations: 1.431 MB / 0.5795 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.4449, allocations: 0.7427 MB / 0.5803 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.445, allocations: 15.94 kB / 0.5803 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.445, allocations: 43.97 kB / 0.5803 GB, free: 30.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.297e-06/0.4451, allocations: 0 / 0.5803 GB, free: 30.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02586/0.4709, allocations: 6.895 MB / 0.587 GB, free: 28.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.471, allocations: 90.42 kB / 0.5871 GB, free: 28.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4722, allocations: 0.8232 MB / 0.5879 GB, free: 28.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.4724, allocations: 42.08 kB / 0.588 GB, free: 28.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.4727, allocations: 445.8 kB / 0.5884 GB, free: 28.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.473, allocations: 332.6 kB / 0.5887 GB, free: 27.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.4735, allocations: 206.5 kB / 0.5889 GB, free: 27.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.4735, allocations: 345.4 kB / 0.5892 GB, free: 27.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.4751, allocations: 0.715 MB / 0.5899 GB, free: 27.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.4769, allocations: 0.8443 MB / 0.5908 GB, free: 26.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.4801, allocations: 1.516 MB / 0.5922 GB, free: 26.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.4801, allocations: 0.625 kB / 0.5922 GB, free: 26.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01382/0.4939, allocations: 4.23 MB / 0.5964 GB, free: 25.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.494, allocations: 6.344 kB / 0.5964 GB, free: 25.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.494, allocations: 1.812 kB / 0.5964 GB, free: 25.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00628/0.5003, allocations: 1.79 MB / 0.5981 GB, free: 24.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.5014, allocations: 192.1 kB / 0.5983 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/0.5234, allocations: 9.298 MB / 0.6074 GB, free: 20.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.525, allocations: 169.1 kB / 0.6076 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.5251, allocations: 41.92 kB / 0.6076 GB, free: 20.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001793/0.5269, allocations: 0.8639 MB / 0.6084 GB, free: 19.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001554/0.5285, allocations: 0.8208 MB / 0.6092 GB, free: 19.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002782/0.5313, allocations: 1.502 MB / 0.6107 GB, free: 18.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.45e-06/0.5313, allocations: 1.375 kB / 0.6107 GB, free: 18.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01214/0.5434, allocations: 4.212 MB / 0.6148 GB, free: 15.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5435, allocations: 8 kB / 0.6148 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5435, allocations: 0 / 0.6148 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005442/0.549, allocations: 1.787 MB / 0.6166 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.55, allocations: 187.7 kB / 0.6168 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/0.5677, allocations: 9.306 MB / 0.6258 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.5692, allocations: 152.3 kB / 0.626 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.982e-05/0.5693, allocations: 39.98 kB / 0.626 GB, free: 4.043 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.0002938/0.5696, allocations: 228.1 kB / 0.6262 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.5698, allocations: 114.6 kB / 0.6264 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/0.5805, allocations: 3.9 MB / 0.6302 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.5806, allocations: 12.92 kB / 0.6302 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5806, allocations: 4 kB / 0.6302 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.5806, allocations: 3.984 kB / 0.6302 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.595, allocations: 5.57 MB / 0.6356 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.595, allocations: 4 kB / 0.6356 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/0.5957, allocations: 107.8 kB / 0.6357 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005577/0.6013, allocations: 1.748 MB / 0.6374 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/0.6015, allocations: 20.84 kB / 0.6375 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.6191, allocations: 8.054 MB / 0.6453 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6191, allocations: 0 / 0.6453 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/0.6331, allocations: 4.854 MB / 0.6501 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/0.6335, allocations: 196.3 kB / 0.6502 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.6337, allocations: 16 kB / 0.6503 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00093/0.6346, allocations: 99.88 kB / 0.6504 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005877/0.6352, allocations: 200.7 kB / 0.6506 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.28e-05/0.6353, allocations: 27.98 kB / 0.6506 GB, free: 10.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000663/0.636, allocations: 0.5569 MB / 0.6511 GB, free: 9.973 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.636, allocations: 0 / 0.6511 GB, free: 9.973 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001902/0.6379, allocations: 0.6866 MB / 0.6518 GB, free: 9.285 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.0002758/0.6382, allocations: 136.3 kB / 0.6519 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01111/0.6493, allocations: 4.196 MB / 0.656 GB, free: 4.934 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6494, allocations: 64 / 0.656 GB, free: 4.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004266/0.6536, allocations: 1.557 MB / 0.6575 GB, free: 3.367 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008197/0.6545, allocations: 92.36 kB / 0.6576 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.6587, allocations: 2.036 MB / 0.6596 GB, free: 1.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.6594, allocations: 1.077 MB / 0.6607 GB, free: 136 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004722/0.6598, allocations: 107 kB / 0.6608 GB, free: 28 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.6601, allocations: 63.42 kB / 0.6608 GB, free: 15.96 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6601, allocations: 0 / 0.6608 GB, free: 15.96 MB / 478.1 MB Notification: Performance of Templates: time 0.6506/1.311, allocations: 31.35 MB / 0.6914 GB, free: 0.8125 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 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)