Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001408/0.001408, allocations: 113.1 kB / 16.41 MB, free: 6.492 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.395/1.395, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001538/0.001538, allocations: 192.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4715/0.4715, allocations: 78.53 MB / 419.1 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 83.88 kB / 0.5543 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3207, allocations: 68.17 MB / 0.6209 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005023/0.3258, allocations: 6.079 MB / 0.6268 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.3289, allocations: 1.852 MB / 0.6286 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005775/0.3295, allocations: 11.94 kB / 0.6286 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.33, allocations: 206.2 kB / 0.6288 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.3315, allocations: 0.7109 MB / 0.6295 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.3327, allocations: 0.621 MB / 0.6301 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.3342, allocations: 1.354 MB / 0.6314 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.3346, allocations: 299.2 kB / 0.6317 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008287/0.3355, allocations: 0.5562 MB / 0.6323 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009111/0.3364, allocations: 0.6883 MB / 0.6329 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.3367, allocations: 100 kB / 0.633 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005444/0.3372, allocations: 231.9 kB / 0.6333 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.3374, allocations: 262.8 kB / 0.6335 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.338, allocations: 0.5864 MB / 0.6341 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.3397, allocations: 1.457 MB / 0.6355 GB, free: 11.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3397, allocations: 4 kB / 0.6355 GB, free: 11.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3397, allocations: 3.938 kB / 0.6355 GB, free: 11.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.3397, allocations: 0 / 0.6355 GB, free: 11.14 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008093/0.3478, allocations: 2.438 MB / 0.6379 GB, free: 8.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3479, allocations: 8.031 kB / 0.6379 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005118/0.353, allocations: 0.775 MB / 0.6387 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.3544, allocations: 0.7361 MB / 0.6394 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.3548, allocations: 252.2 kB / 0.6396 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.3549, allocations: 79.91 kB / 0.6397 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.3573, allocations: 1.094 MB / 0.6408 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3573, allocations: 3.938 kB / 0.6408 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.3574, allocations: 31.98 kB / 0.6408 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.3574, allocations: 16 kB / 0.6408 GB, free: 5.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.3597, allocations: 1.027 MB / 0.6418 GB, free: 4.535 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.006178/0.3659, allocations: 3.488 MB / 0.6452 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.3684, allocations: 1.443 MB / 0.6466 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.37, allocations: 0.7417 MB / 0.6473 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.9e-05/0.3701, allocations: 20.92 kB / 0.6474 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3702, allocations: 39.56 kB / 0.6474 GB, free: 14.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 3.486e-06/0.3702, allocations: 0 / 0.6474 GB, free: 14.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=89): time 0.02639/0.3966, allocations: 6.434 MB / 0.6537 GB, free: 8.035 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.3967, allocations: 86.11 kB / 0.6538 GB, free: 7.934 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.398, allocations: 0.8358 MB / 0.6546 GB, free: 7.074 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002574/0.3983, allocations: 45.7 kB / 0.6546 GB, free: 7.023 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.3987, allocations: 448.6 kB / 0.6551 GB, free: 6.578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004885/0.3992, allocations: 323.4 kB / 0.6554 GB, free: 6.258 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006118/0.3998, allocations: 202.8 kB / 0.6556 GB, free: 6.051 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4, allocations: 345.9 kB / 0.6559 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.4016, allocations: 0.7048 MB / 0.6566 GB, free: 5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.4035, allocations: 0.8237 MB / 0.6574 GB, free: 4.141 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/0.4068, allocations: 1.506 MB / 0.6589 GB, free: 2.602 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.4068, allocations: 0 / 0.6589 GB, free: 2.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01478/0.4216, allocations: 4.222 MB / 0.663 GB, free: 14.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.4217, allocations: 8 kB / 0.663 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.4217, allocations: 0 / 0.663 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007005/0.4287, allocations: 1.791 MB / 0.6647 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4298, allocations: 191.7 kB / 0.6649 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02385/0.4536, allocations: 9.327 MB / 0.674 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.4552, allocations: 167 kB / 0.6742 GB, free: 2.742 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.4555, allocations: 36 kB / 0.6742 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001993/0.4575, allocations: 0.8461 MB / 0.675 GB, free: 1.859 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001768/0.4593, allocations: 0.8198 MB / 0.6758 GB, free: 1.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003334/0.4626, allocations: 1.479 MB / 0.6773 GB, free: 15.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.196e-06/0.4626, allocations: 0 / 0.6773 GB, free: 15.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01467/0.4773, allocations: 4.199 MB / 0.6814 GB, free: 11.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.4774, allocations: 8 kB / 0.6814 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4774, allocations: 3.984 kB / 0.6814 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006676/0.4841, allocations: 1.792 MB / 0.6832 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009875/0.4851, allocations: 183.7 kB / 0.6833 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/0.5084, allocations: 9.324 MB / 0.6924 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.51, allocations: 155 kB / 0.6926 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.5102, allocations: 39.98 kB / 0.6926 GB, free: 15.63 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 (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.0004126/0.5106, allocations: 240.7 kB / 0.6928 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.511, allocations: 102.7 kB / 0.6929 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.5249, allocations: 3.915 MB / 0.6968 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.525, allocations: 8 kB / 0.6968 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.525, allocations: 0 / 0.6968 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.525, allocations: 15.91 kB / 0.6968 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.5418, allocations: 5.605 MB / 0.7023 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.5419, allocations: 3.984 kB / 0.7023 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007066/0.5426, allocations: 111.9 kB / 0.7024 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006578/0.5492, allocations: 1.741 MB / 0.7041 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.5495, allocations: 16 kB / 0.7041 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/0.5706, allocations: 8.072 MB / 0.712 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.5707, allocations: 4 kB / 0.712 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/0.5861, allocations: 4.821 MB / 0.7167 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.5866, allocations: 187.6 kB / 0.7169 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.5868, allocations: 20 kB / 0.7169 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.588, allocations: 99.88 kB / 0.717 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006496/0.5887, allocations: 208.7 kB / 0.7172 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.5888, allocations: 23.98 kB / 0.7172 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008223/0.5896, allocations: 0.5511 MB / 0.7177 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5896, allocations: 0 / 0.7177 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002337/0.592, allocations: 0.6866 MB / 0.7184 GB, free: 4.832 MB / 0.5137 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.0003605/0.5923, allocations: 139.7 kB / 0.7185 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01257/0.6049, allocations: 4.175 MB / 0.7226 GB, free: 496 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.605, allocations: 8 kB / 0.7226 GB, free: 488 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004991/0.6099, allocations: 1.55 MB / 0.7241 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.611, allocations: 87.42 kB / 0.7242 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.6155, allocations: 2.021 MB / 0.7262 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.6162, allocations: 1.077 MB / 0.7273 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.6166, allocations: 71.36 kB / 0.7273 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.6166, allocations: 0 / 0.7273 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.02993/0.6465, allocations: 20.2 MB / 0.747 GB, free: 7.367 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)