Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001219, allocations: 174 kB / 15.77 MB, free: 6.328 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.496/1.496, allocations: 223.3 MB / 239.8 MB, free: 1.73 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007819/0.0007821, allocations: 105.2 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4952/0.4952, allocations: 78.61 MB / 420.7 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 8 kB / 0.4888 GB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4277, allocations: 69.36 MB / 0.5565 GB, free: 38.78 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005958/0.4337, allocations: 5.64 MB / 0.562 GB, free: 37.81 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003889/0.4377, allocations: 1.803 MB / 0.5638 GB, free: 36.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005763/0.4383, allocations: 15.16 kB / 0.5638 GB, free: 36.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.4387, allocations: 147.5 kB / 0.5639 GB, free: 36.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.4403, allocations: 0.5852 MB / 0.5645 GB, free: 36.07 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001399/0.4417, allocations: 0.5313 MB / 0.565 GB, free: 35.8 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.4433, allocations: 1.229 MB / 0.5662 GB, free: 35.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.4438, allocations: 230.1 kB / 0.5664 GB, free: 35.06 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007636/0.4446, allocations: 499 kB / 0.5669 GB, free: 34.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008005/0.4454, allocations: 0.6095 MB / 0.5675 GB, free: 34.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.4455, allocations: 50.75 kB / 0.5676 GB, free: 34.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.446, allocations: 177.4 kB / 0.5677 GB, free: 34.53 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.4462, allocations: 202.3 kB / 0.5679 GB, free: 34.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.4465, allocations: 209 kB / 0.5681 GB, free: 34.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009858/0.4475, allocations: 1.071 MB / 0.5692 GB, free: 33.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4475, allocations: 0 / 0.5692 GB, free: 33.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4475, allocations: 0 / 0.5692 GB, free: 33.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.4475, allocations: 1.375 kB / 0.5692 GB, free: 33.94 MB / 426.7 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.007034/0.4545, allocations: 2.29 MB / 0.5714 GB, free: 32.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4546, allocations: 8.938 kB / 0.5714 GB, free: 32.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.4594, allocations: 0.7785 MB / 0.5722 GB, free: 32.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.4606, allocations: 0.7019 MB / 0.5729 GB, free: 32.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.4609, allocations: 265.1 kB / 0.5731 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.4611, allocations: 72.84 kB / 0.5732 GB, free: 32.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.4632, allocations: 1.165 MB / 0.5743 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.4633, allocations: 0 / 0.5743 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.4634, allocations: 29.53 kB / 0.5744 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.4634, allocations: 21.95 kB / 0.5744 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.4656, allocations: 1.123 MB / 0.5755 GB, free: 31.29 MB / 426.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.005823/0.4714, allocations: 3.532 MB / 0.5789 GB, free: 29.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.4737, allocations: 1.541 MB / 0.5804 GB, free: 28.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.4753, allocations: 0.8131 MB / 0.5812 GB, free: 28.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.4754, allocations: 20.89 kB / 0.5812 GB, free: 28.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.4754, allocations: 45.28 kB / 0.5813 GB, free: 28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 3.697e-06/0.4754, allocations: 0 / 0.5813 GB, free: 28 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02835/0.5038, allocations: 8.506 MB / 0.5896 GB, free: 26.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.5039, allocations: 87.55 kB / 0.5897 GB, free: 26.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.5051, allocations: 0.8172 MB / 0.5905 GB, free: 26.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.5053, allocations: 46.2 kB / 0.5905 GB, free: 26.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.5056, allocations: 449.2 kB / 0.5909 GB, free: 25.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.506, allocations: 327 kB / 0.5913 GB, free: 25.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.5061, allocations: 24.31 kB / 0.5913 GB, free: 25.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5062, allocations: 349 kB / 0.5916 GB, free: 25.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.5079, allocations: 0.7823 MB / 0.5924 GB, free: 24.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.5099, allocations: 0.914 MB / 0.5933 GB, free: 24.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.5117, allocations: 0.8241 MB / 0.5941 GB, free: 24.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.5117, allocations: 1.156 kB / 0.5941 GB, free: 24.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01584/0.5276, allocations: 5.122 MB / 0.5991 GB, free: 23.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.5277, allocations: 154.7 kB / 0.5992 GB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.5277, allocations: 2.812 kB / 0.5992 GB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007418/0.5351, allocations: 2.11 MB / 0.6013 GB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.5363, allocations: 199.7 kB / 0.6015 GB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02394/0.5603, allocations: 9.548 MB / 0.6108 GB, free: 17.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.562, allocations: 208.5 kB / 0.611 GB, free: 17.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5621, allocations: 39.61 kB / 0.611 GB, free: 17.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.5621, allocations: 4 kB / 0.611 GB, free: 17.61 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01384/0.576, allocations: 4.964 MB / 0.6159 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.576, allocations: 4 kB / 0.6159 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006184/0.5822, allocations: 2.1 MB / 0.6179 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/0.5832, allocations: 199.7 kB / 0.6181 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/0.6021, allocations: 9.538 MB / 0.6274 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.6037, allocations: 191.1 kB / 0.6276 GB, free: 0.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/0.6038, allocations: 39.98 kB / 0.6277 GB, free: 0.8789 MB / 426.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 (110): * Single equations (assignments): 109 * 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.0004987/0.6043, allocations: 304.9 kB / 0.628 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.6045, allocations: 106.7 kB / 0.6281 GB, free: 476 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.6186, allocations: 4.824 MB / 0.6328 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.6187, allocations: 8 kB / 0.6328 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6187, allocations: 0 / 0.6328 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.6187, allocations: 11.92 kB / 0.6328 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.6355, allocations: 6.482 MB / 0.6391 GB, free: 4.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.6356, allocations: 4 kB / 0.6391 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.6362, allocations: 123.9 kB / 0.6392 GB, free: 4.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006376/0.6426, allocations: 2.053 MB / 0.6412 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.6428, allocations: 19.94 kB / 0.6413 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/0.6613, allocations: 8.187 MB / 0.6493 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.6613, allocations: 7.938 kB / 0.6493 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01664/0.678, allocations: 5.836 MB / 0.655 GB, free: 4.586 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.6785, allocations: 203.4 kB / 0.6552 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.6787, allocations: 16 kB / 0.6552 GB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6798, allocations: 135.9 kB / 0.6553 GB, free: 4.219 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006109/0.6804, allocations: 204.6 kB / 0.6555 GB, free: 4.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.6805, allocations: 32 kB / 0.6555 GB, free: 3.988 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000759/0.6812, allocations: 0.5393 MB / 0.6561 GB, free: 3.438 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6812, allocations: 0 / 0.6561 GB, free: 3.438 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002213/0.6835, allocations: 0.6944 MB / 0.6567 GB, free: 2.742 MB / 458.7 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 (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.0002806/0.6838, allocations: 123.2 kB / 0.6569 GB, free: 2.613 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01286/0.6966, allocations: 4.647 MB / 0.6614 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6967, allocations: 0 / 0.6614 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00503/0.7017, allocations: 1.736 MB / 0.6631 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.7027, allocations: 92.34 kB / 0.6632 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.7066, allocations: 2.455 MB / 0.6656 GB, free: 9.617 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.7073, allocations: 1.082 MB / 0.6666 GB, free: 8.504 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.7076, allocations: 67.42 kB / 0.6667 GB, free: 8.438 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7076, allocations: 0 / 0.6667 GB, free: 8.438 MB / 474.7 MB Notification: Performance of Templates: time 0.02884/0.7365, allocations: 20.05 MB / 0.6863 GB, free: 4.379 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)