Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.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 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.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 102.3 kB / 16.4 MB, free: 6.406 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.361/1.361, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001402/0.001402, allocations: 184.5 kB / 290.4 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5193/0.5193, allocations: 91.9 MB / 432.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 81.38 kB / 0.5734 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1343, allocations: 71.26 MB / 0.643 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.006562/0.1409, allocations: 6.12 MB / 0.649 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003988/0.1449, allocations: 1.852 MB / 0.6508 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.146, allocations: 11.94 kB / 0.6508 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007534/0.1468, allocations: 218.2 kB / 0.651 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.1492, allocations: 0.6965 MB / 0.6517 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.1509, allocations: 0.6306 MB / 0.6523 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.1529, allocations: 1.347 MB / 0.6536 GB, free: 8.688 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005112/0.1534, allocations: 291.3 kB / 0.6539 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009146/0.1543, allocations: 0.564 MB / 0.6544 GB, free: 7.824 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008518/0.1552, allocations: 0.6883 MB / 0.6551 GB, free: 7.133 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.1554, allocations: 100 kB / 0.6552 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.156, allocations: 223.9 kB / 0.6554 GB, free: 6.816 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.1562, allocations: 274.8 kB / 0.6557 GB, free: 6.547 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000551/0.1568, allocations: 0.5864 MB / 0.6563 GB, free: 5.957 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.1585, allocations: 1.448 MB / 0.6577 GB, free: 4.504 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1585, allocations: 4 kB / 0.6577 GB, free: 4.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1585, allocations: 0 / 0.6577 GB, free: 4.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.1586, allocations: 0 / 0.6577 GB, free: 4.5 MB / 462.1 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.008274/0.1668, allocations: 2.438 MB / 0.66 GB, free: 2.008 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1669, allocations: 8.031 kB / 0.6601 GB, free: 2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.1722, allocations: 0.7672 MB / 0.6608 GB, free: 1.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.1739, allocations: 0.7438 MB / 0.6615 GB, free: 456 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.1743, allocations: 256.2 kB / 0.6618 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.1745, allocations: 75.91 kB / 0.6618 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.1768, allocations: 1.094 MB / 0.6629 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1769, allocations: 0 / 0.6629 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.413e-05/0.177, allocations: 28 kB / 0.6629 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.177, allocations: 20 kB / 0.663 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.1792, allocations: 1.031 MB / 0.664 GB, free: 13.89 MB / 478.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.006421/0.1856, allocations: 3.484 MB / 0.6674 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.1882, allocations: 1.448 MB / 0.6688 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.1897, allocations: 0.744 MB / 0.6695 GB, free: 7.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-05/0.1898, allocations: 16.98 kB / 0.6695 GB, free: 7.914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1899, allocations: 43.5 kB / 0.6696 GB, free: 7.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 3.707e-06/0.1899, allocations: 7.938 kB / 0.6696 GB, free: 7.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.02452/0.2144, allocations: 6.43 MB / 0.6759 GB, free: 1.391 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/0.2146, allocations: 94.05 kB / 0.6759 GB, free: 1.281 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.2158, allocations: 0.828 MB / 0.6768 GB, free: 440 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.2161, allocations: 41.7 kB / 0.6768 GB, free: 392 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.2165, allocations: 456.6 kB / 0.6772 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.2169, allocations: 323.4 kB / 0.6775 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.2173, allocations: 194.9 kB / 0.6777 GB, free: 15.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2175, allocations: 353.9 kB / 0.6781 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.219, allocations: 0.7009 MB / 0.6787 GB, free: 14.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.2205, allocations: 0.8354 MB / 0.6796 GB, free: 13.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.2235, allocations: 1.502 MB / 0.681 GB, free: 11.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.2235, allocations: 0 / 0.681 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01335/0.2368, allocations: 4.222 MB / 0.6852 GB, free: 7.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.2369, allocations: 8.781 kB / 0.6852 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2369, allocations: 0 / 0.6852 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006167/0.2431, allocations: 1.795 MB / 0.6869 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.2442, allocations: 183.8 kB / 0.6871 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/0.2652, allocations: 9.318 MB / 0.6962 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.2668, allocations: 159 kB / 0.6963 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.267, allocations: 43.97 kB / 0.6964 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001787/0.2688, allocations: 0.8504 MB / 0.6972 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001551/0.2703, allocations: 0.8197 MB / 0.698 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002937/0.2733, allocations: 1.482 MB / 0.6995 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.392e-06/0.2733, allocations: 0 / 0.6995 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01304/0.2864, allocations: 4.199 MB / 0.7036 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.2864, allocations: 4 kB / 0.7036 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.2865, allocations: 7.938 kB / 0.7036 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00612/0.2926, allocations: 1.792 MB / 0.7053 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000992/0.2936, allocations: 183.8 kB / 0.7055 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/0.3145, allocations: 9.32 MB / 0.7146 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.316, allocations: 155 kB / 0.7147 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.3161, allocations: 47.92 kB / 0.7148 GB, free: 8.973 MB / 0.5137 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 (106): * Single equations (assignments): 105 * 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.0003158/0.3165, allocations: 228 kB / 0.715 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.3167, allocations: 106.7 kB / 0.7151 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.3291, allocations: 3.912 MB / 0.7189 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.3291, allocations: 12 kB / 0.7189 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3291, allocations: 0 / 0.7189 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/0.3292, allocations: 11.91 kB / 0.719 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/0.3441, allocations: 5.613 MB / 0.7244 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.3442, allocations: 0 / 0.7244 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007017/0.3449, allocations: 107.8 kB / 0.7245 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005638/0.3505, allocations: 1.741 MB / 0.7262 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.3508, allocations: 16 kB / 0.7263 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.3685, allocations: 8.08 MB / 0.7341 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.3685, allocations: 11.94 kB / 0.7342 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/0.3826, allocations: 4.814 MB / 0.7389 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.383, allocations: 195.5 kB / 0.739 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.3833, allocations: 16 kB / 0.7391 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009996/0.3843, allocations: 99.89 kB / 0.7392 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006474/0.385, allocations: 212.5 kB / 0.7394 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.385, allocations: 24 kB / 0.7394 GB, free: 15.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007038/0.3857, allocations: 0.5549 MB / 0.7399 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3858, allocations: 4 kB / 0.7399 GB, free: 14.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002043/0.3878, allocations: 0.6866 MB / 0.7406 GB, free: 14.16 MB / 0.545 GB 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 (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.0003037/0.3881, allocations: 127.8 kB / 0.7407 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01167/0.3998, allocations: 4.176 MB / 0.7448 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.3999, allocations: 0 / 0.7448 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004733/0.4046, allocations: 1.551 MB / 0.7463 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009533/0.4056, allocations: 83.44 kB / 0.7464 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.4098, allocations: 2.031 MB / 0.7484 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.4105, allocations: 1.077 MB / 0.7494 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.4109, allocations: 67.42 kB / 0.7495 GB, free: 4.941 MB / 0.545 GB Notification: Performance of SimCode: time 9.21e-07/0.4109, allocations: 4 kB / 0.7495 GB, free: 4.938 MB / 0.545 GB Notification: Performance of Templates: time 0.02777/0.4387, allocations: 20.21 MB / 0.7692 GB, free: 0.7148 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)