Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007759/0.007759, allocations: 169.9 kB / 15.12 MB, free: 5.559 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.362/1.362, allocations: 223.2 MB / 239 MB, free: 16 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.0008795/0.0008795, allocations: 94.8 kB / 290.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4556/0.4556, allocations: 78.6 MB / 419.9 MB, free: 36.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 12 kB / 499.8 MB, free: 7.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 69.35 MB / 0.5558 GB, free: 1.824 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005344/0.1447, allocations: 5.325 MB / 0.561 GB, free: 12.47 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004279/0.149, allocations: 1.826 MB / 0.5628 GB, free: 10.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008771/0.15, allocations: 15.94 kB / 0.5628 GB, free: 10.62 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.1505, allocations: 146.9 kB / 0.5629 GB, free: 10.48 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.1522, allocations: 0.6375 MB / 0.5635 GB, free: 9.844 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1536, allocations: 0.5244 MB / 0.5641 GB, free: 9.328 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.155, allocations: 0.8658 MB / 0.5649 GB, free: 8.461 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.1554, allocations: 235.4 kB / 0.5651 GB, free: 8.219 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005685/0.156, allocations: 490 kB / 0.5656 GB, free: 7.738 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006454/0.1567, allocations: 0.5951 MB / 0.5662 GB, free: 7.141 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.98e-05/0.1568, allocations: 52 kB / 0.5662 GB, free: 7.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.1572, allocations: 159.9 kB / 0.5664 GB, free: 6.934 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.1574, allocations: 211.1 kB / 0.5666 GB, free: 6.727 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.1576, allocations: 213 kB / 0.5668 GB, free: 6.512 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009705/0.1585, allocations: 1.017 MB / 0.5678 GB, free: 5.492 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1586, allocations: 0 / 0.5678 GB, free: 5.492 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1586, allocations: 0 / 0.5678 GB, free: 5.492 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.1586, allocations: 3.938 kB / 0.5678 GB, free: 5.488 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007425/0.166, allocations: 2.283 MB / 0.57 GB, free: 3.152 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1661, allocations: 11.97 kB / 0.57 GB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.171, allocations: 0.7828 MB / 0.5708 GB, free: 2.355 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.1726, allocations: 0.7056 MB / 0.5715 GB, free: 1.605 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/0.1729, allocations: 268.2 kB / 0.5717 GB, free: 1.309 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.1731, allocations: 72 kB / 0.5718 GB, free: 1.238 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.1754, allocations: 1.161 MB / 0.5729 GB, free: 64 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1755, allocations: 0 / 0.5729 GB, free: 64 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.657e-05/0.1756, allocations: 28 kB / 0.573 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.1756, allocations: 23.95 kB / 0.573 GB, free: 12 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3046/0.4802, allocations: 1.11 MB / 0.5741 GB, free: 44.39 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.005876/0.4861, allocations: 3.678 MB / 0.5777 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.4886, allocations: 1.549 MB / 0.5792 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-05/0.4887, allocations: 11.33 kB / 0.5792 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.4888, allocations: 45.25 kB / 0.5792 GB, free: 42.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=89): time 4.408e-06/0.4888, allocations: 1.359 kB / 0.5792 GB, free: 42.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=89): time 0.02776/0.5165, allocations: 7.938 MB / 0.587 GB, free: 42.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.5166, allocations: 90.66 kB / 0.5871 GB, free: 42.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.5177, allocations: 0.8265 MB / 0.5879 GB, free: 41.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.5179, allocations: 41.27 kB / 0.5879 GB, free: 41.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.5182, allocations: 456.9 kB / 0.5883 GB, free: 41.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.5185, allocations: 323.1 kB / 0.5886 GB, free: 41.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.5186, allocations: 19.97 kB / 0.5887 GB, free: 41.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.5187, allocations: 348.9 kB / 0.589 GB, free: 41.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.5203, allocations: 0.7697 MB / 0.5898 GB, free: 41.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.5221, allocations: 0.9005 MB / 0.5906 GB, free: 41.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.524, allocations: 0.82 MB / 0.5914 GB, free: 41.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.524, allocations: 0 / 0.5914 GB, free: 41.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01442/0.5384, allocations: 5.117 MB / 0.5964 GB, free: 40.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.5387, allocations: 0.8909 MB / 0.5973 GB, free: 39.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5387, allocations: 7.125 kB / 0.5973 GB, free: 39.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006483/0.5452, allocations: 2.105 MB / 0.5994 GB, free: 38.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/0.5462, allocations: 197.7 kB / 0.5995 GB, free: 38.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/0.5685, allocations: 10.01 MB / 0.6093 GB, free: 34.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.5701, allocations: 204.2 kB / 0.6095 GB, free: 34.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.5702, allocations: 39.55 kB / 0.6096 GB, free: 34.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.5702, allocations: 3.812 kB / 0.6096 GB, free: 34.41 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01486/0.5851, allocations: 4.971 MB / 0.6144 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.5851, allocations: 5.297 kB / 0.6144 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006763/0.5919, allocations: 2.116 MB / 0.6165 GB, free: 33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.593, allocations: 191.1 kB / 0.6167 GB, free: 32.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02286/0.6158, allocations: 10.01 MB / 0.6264 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.6174, allocations: 189.6 kB / 0.6266 GB, free: 28.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.6175, allocations: 38.2 kB / 0.6267 GB, free: 28.64 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 (106): * Single equations (assignments): 105 * 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.0004969/0.618, allocations: 304.2 kB / 0.627 GB, free: 28.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.6182, allocations: 117.1 kB / 0.6271 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.6325, allocations: 4.823 MB / 0.6318 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/0.6326, allocations: 11.95 kB / 0.6318 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6326, allocations: 0 / 0.6318 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.816e-05/0.6326, allocations: 9.469 kB / 0.6318 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.6478, allocations: 6.533 MB / 0.6382 GB, free: 19.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.6478, allocations: 0 / 0.6382 GB, free: 19.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.6485, allocations: 123.8 kB / 0.6383 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005829/0.6543, allocations: 2.048 MB / 0.6403 GB, free: 17.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.6545, allocations: 16.52 kB / 0.6403 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.6719, allocations: 8.665 MB / 0.6488 GB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.672, allocations: 4 kB / 0.6488 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/0.6869, allocations: 5.832 MB / 0.6545 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.6873, allocations: 195.6 kB / 0.6547 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.6874, allocations: 19.94 kB / 0.6547 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009991/0.6884, allocations: 139.9 kB / 0.6548 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/0.689, allocations: 205.3 kB / 0.655 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/0.6891, allocations: 20 kB / 0.655 GB, free: 2.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005718/0.6896, allocations: 0.5471 MB / 0.6556 GB, free: 1.883 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6896, allocations: 0 / 0.6556 GB, free: 1.883 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001807/0.6915, allocations: 0.6837 MB / 0.6562 GB, free: 1.199 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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 (56): * Single equations (assignments): 55 * 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.000222/0.6917, allocations: 137.7 kB / 0.6564 GB, free: 1.059 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01243/0.7041, allocations: 4.624 MB / 0.6609 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.7042, allocations: 4 kB / 0.6609 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005152/0.7093, allocations: 1.738 MB / 0.6626 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/0.71, allocations: 81.12 kB / 0.6627 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.714, allocations: 2.377 MB / 0.665 GB, free: 8.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.7147, allocations: 1.101 MB / 0.666 GB, free: 7.098 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005354/0.7152, allocations: 105.7 kB / 0.6661 GB, free: 6.996 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.7154, allocations: 63.42 kB / 0.6662 GB, free: 6.938 MB / 458.7 MB Notification: Performance of SimCode: time 1.183e-06/0.7154, allocations: 1.969 kB / 0.6662 GB, free: 6.938 MB / 458.7 MB Notification: Performance of Templates: time 0.04089/0.7563, allocations: 27.1 MB / 0.6927 GB, free: 12.01 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)