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.004751/0.004751, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.331/1.331, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001327/0.001327, allocations: 192.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4488/0.4488, allocations: 78.53 MB / 418.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 79.88 kB / 0.5536 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3387, allocations: 68.16 MB / 0.6202 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.00565/0.3444, allocations: 6.131 MB / 0.6262 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.3481, allocations: 1.86 MB / 0.628 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.3492, allocations: 8 kB / 0.628 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007967/0.35, allocations: 214.2 kB / 0.6282 GB, free: 2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.3526, allocations: 0.7462 MB / 0.6289 GB, free: 1.254 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.001564/0.3542, allocations: 0.6281 MB / 0.6295 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.3559, allocations: 1.362 MB / 0.6309 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004575/0.3563, allocations: 303.2 kB / 0.6312 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007646/0.3571, allocations: 0.5562 MB / 0.6317 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006904/0.3578, allocations: 0.6844 MB / 0.6324 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.358, allocations: 104 kB / 0.6325 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.3584, allocations: 227.9 kB / 0.6327 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.3587, allocations: 266.8 kB / 0.6329 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005054/0.3592, allocations: 0.5825 MB / 0.6335 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.3608, allocations: 1.457 MB / 0.6349 GB, free: 11.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3608, allocations: 0 / 0.6349 GB, free: 11.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3608, allocations: 0 / 0.6349 GB, free: 11.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.3608, allocations: 0 / 0.6349 GB, free: 11.08 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.007696/0.3685, allocations: 2.442 MB / 0.6373 GB, free: 8.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3686, allocations: 11.97 kB / 0.6373 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.3735, allocations: 0.7634 MB / 0.6381 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.375, allocations: 0.7438 MB / 0.6388 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.3754, allocations: 252.2 kB / 0.639 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.3756, allocations: 76 kB / 0.6391 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.3779, allocations: 1.098 MB / 0.6402 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3779, allocations: 7.938 kB / 0.6402 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.422e-05/0.378, allocations: 32 kB / 0.6402 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.378, allocations: 16 kB / 0.6402 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.3803, allocations: 1.019 MB / 0.6412 GB, free: 4.477 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.006105/0.3864, allocations: 3.457 MB / 0.6446 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.3888, allocations: 1.434 MB / 0.646 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.3903, allocations: 0.7417 MB / 0.6467 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.3904, allocations: 16.91 kB / 0.6468 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3904, allocations: 39.56 kB / 0.6468 GB, free: 14.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.316e-06/0.3904, allocations: 4 kB / 0.6468 GB, free: 14.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=90): time 0.02571/0.4162, allocations: 6.89 MB / 0.6535 GB, free: 7.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.4163, allocations: 86.11 kB / 0.6536 GB, free: 7.469 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.4176, allocations: 0.8318 MB / 0.6544 GB, free: 6.613 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002117/0.4178, allocations: 49.69 kB / 0.6545 GB, free: 6.559 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.4182, allocations: 444.7 kB / 0.6549 GB, free: 6.117 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/0.4186, allocations: 327.3 kB / 0.6552 GB, free: 5.793 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005026/0.4191, allocations: 202.8 kB / 0.6554 GB, free: 5.586 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4193, allocations: 345.9 kB / 0.6557 GB, free: 5.242 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.4208, allocations: 0.7126 MB / 0.6564 GB, free: 4.527 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.4225, allocations: 0.8393 MB / 0.6572 GB, free: 3.652 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/0.4255, allocations: 1.521 MB / 0.6587 GB, free: 2.098 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4255, allocations: 0 / 0.6587 GB, free: 2.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0128/0.4384, allocations: 4.226 MB / 0.6629 GB, free: 13.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.4384, allocations: 8 kB / 0.6629 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4385, allocations: 0 / 0.6629 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005944/0.4444, allocations: 1.787 MB / 0.6646 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.4455, allocations: 199.7 kB / 0.6648 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02063/0.4662, allocations: 9.31 MB / 0.6739 GB, free: 2.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.4677, allocations: 166.9 kB / 0.6741 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.4678, allocations: 47.92 kB / 0.6741 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001786/0.4696, allocations: 0.8578 MB / 0.6749 GB, free: 1.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001495/0.4711, allocations: 0.8276 MB / 0.6757 GB, free: 488 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002877/0.474, allocations: 1.498 MB / 0.6772 GB, free: 14.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.474, allocations: 0 / 0.6772 GB, free: 14.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01283/0.4869, allocations: 4.203 MB / 0.6813 GB, free: 10.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4869, allocations: 4 kB / 0.6813 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4869, allocations: 8 kB / 0.6813 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0059/0.4928, allocations: 1.784 MB / 0.6831 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.4939, allocations: 187.7 kB / 0.6832 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/0.5148, allocations: 9.313 MB / 0.6923 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.5163, allocations: 151.1 kB / 0.6925 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.5164, allocations: 43.98 kB / 0.6925 GB, free: 15.09 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 (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.0002993/0.5167, allocations: 228.7 kB / 0.6927 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.517, allocations: 110.6 kB / 0.6928 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.5287, allocations: 3.911 MB / 0.6967 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.5288, allocations: 8 kB / 0.6967 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5288, allocations: 0 / 0.6967 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.5288, allocations: 3.984 kB / 0.6967 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.5428, allocations: 5.567 MB / 0.7021 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.5428, allocations: 0 / 0.7021 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.5434, allocations: 107.8 kB / 0.7022 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005366/0.5488, allocations: 1.749 MB / 0.7039 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.5489, allocations: 16 kB / 0.7039 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.5661, allocations: 8.044 MB / 0.7118 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5661, allocations: 0 / 0.7118 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.5796, allocations: 4.862 MB / 0.7165 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.58, allocations: 199.5 kB / 0.7167 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.5802, allocations: 16 kB / 0.7167 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.581, allocations: 103.9 kB / 0.7168 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005989/0.5817, allocations: 200.7 kB / 0.717 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.41e-05/0.5817, allocations: 27.98 kB / 0.7171 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006619/0.5824, allocations: 0.551 MB / 0.7176 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5824, allocations: 0 / 0.7176 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001791/0.5842, allocations: 0.6866 MB / 0.7183 GB, free: 4.352 MB / 0.5137 GB 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.0002569/0.5845, allocations: 135.8 kB / 0.7184 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.5949, allocations: 4.192 MB / 0.7225 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/0.595, allocations: 4 kB / 0.7225 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004221/0.5992, allocations: 1.554 MB / 0.724 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/0.6, allocations: 83.44 kB / 0.7241 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.6038, allocations: 2.037 MB / 0.7261 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.6045, allocations: 1.081 MB / 0.7271 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004377/0.6049, allocations: 106.6 kB / 0.7272 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.6052, allocations: 59.44 kB / 0.7273 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.6052, allocations: 0 / 0.7273 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.0476/0.6528, allocations: 31.6 MB / 0.7582 GB, free: 11.4 MB / 0.5606 GB 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)