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.0009784/0.0009784, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.298/1.298, allocations: 223.2 MB / 238.9 MB, free: 5.652 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.001255/0.001255, allocations: 184.6 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4491/0.4491, allocations: 78.52 MB / 419.8 MB, free: 4.375 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 12 kB / 499.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 69.36 MB / 0.5557 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.2014/0.3236, allocations: 5.343 MB / 0.5609 GB, free: 37.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.3265, allocations: 1.836 MB / 0.5627 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/0.327, allocations: 9.594 kB / 0.5627 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.3274, allocations: 155 kB / 0.5629 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.3287, allocations: 0.6339 MB / 0.5635 GB, free: 37.53 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.001103/0.3299, allocations: 0.5233 MB / 0.564 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.331, allocations: 0.8819 MB / 0.5648 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.3314, allocations: 230.6 kB / 0.5651 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.332, allocations: 492.5 kB / 0.5655 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.3326, allocations: 0.5927 MB / 0.5661 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.3327, allocations: 55.59 kB / 0.5662 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.3331, allocations: 161.5 kB / 0.5663 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3332, allocations: 203.4 kB / 0.5665 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3334, allocations: 211.5 kB / 0.5667 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008141/0.3342, allocations: 1.021 MB / 0.5677 GB, free: 37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.3342, allocations: 0 / 0.5677 GB, free: 37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3342, allocations: 3.281 kB / 0.5677 GB, free: 37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.3342, allocations: 4.75 kB / 0.5677 GB, free: 36.99 MB / 430.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.006566/0.3408, allocations: 2.284 MB / 0.5699 GB, free: 36.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3409, allocations: 8.5 kB / 0.57 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004594/0.3455, allocations: 0.7818 MB / 0.5707 GB, free: 36.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009721/0.3464, allocations: 0.7024 MB / 0.5714 GB, free: 35.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.3467, allocations: 266.3 kB / 0.5717 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3468, allocations: 76.66 kB / 0.5717 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.3488, allocations: 1.16 MB / 0.5729 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3489, allocations: 0.625 kB / 0.5729 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.705e-05/0.349, allocations: 34.61 kB / 0.5729 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.349, allocations: 17.81 kB / 0.5729 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.3509, allocations: 1.121 MB / 0.574 GB, free: 35.04 MB / 430.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.004927/0.3559, allocations: 3.636 MB / 0.5776 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.3579, allocations: 1.535 MB / 0.5791 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-05/0.358, allocations: 16.67 kB / 0.5791 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.358, allocations: 42.94 kB / 0.5791 GB, free: 31.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.214e-06/0.358, allocations: 0 / 0.5791 GB, free: 31.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02695/0.385, allocations: 8.496 MB / 0.5874 GB, free: 30.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.3851, allocations: 87.52 kB / 0.5875 GB, free: 30.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3861, allocations: 0.8166 MB / 0.5883 GB, free: 30.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.3864, allocations: 42.14 kB / 0.5883 GB, free: 30.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.3866, allocations: 453.4 kB / 0.5888 GB, free: 29.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.3869, allocations: 330.1 kB / 0.5891 GB, free: 29.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.387, allocations: 20.81 kB / 0.5891 GB, free: 29.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.3871, allocations: 352.5 kB / 0.5894 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.3886, allocations: 0.7836 MB / 0.5902 GB, free: 28.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.3903, allocations: 0.9093 MB / 0.5911 GB, free: 28.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.3919, allocations: 0.8235 MB / 0.5919 GB, free: 28.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.3919, allocations: 5.219 kB / 0.5919 GB, free: 28.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01469/0.4066, allocations: 5.109 MB / 0.5969 GB, free: 26.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.4068, allocations: 0.8825 MB / 0.5978 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4069, allocations: 1.844 kB / 0.5978 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006973/0.4138, allocations: 2.112 MB / 0.5998 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.415, allocations: 204.4 kB / 0.6 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02314/0.4381, allocations: 9.996 MB / 0.6098 GB, free: 21.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.4398, allocations: 208.9 kB / 0.61 GB, free: 21.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.44, allocations: 37.94 kB / 0.61 GB, free: 21.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.44, allocations: 4.891 kB / 0.61 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01344/0.4535, allocations: 4.96 MB / 0.6149 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.4535, allocations: 4 kB / 0.6149 GB, free: 17.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006062/0.4596, allocations: 2.107 MB / 0.6169 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.4607, allocations: 196.7 kB / 0.6171 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/0.4803, allocations: 9.985 MB / 0.6269 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.4819, allocations: 191 kB / 0.627 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.482, allocations: 42.38 kB / 0.6271 GB, free: 4.797 MB / 430.1 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.0005096/0.4825, allocations: 309.6 kB / 0.6274 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.4827, allocations: 110.7 kB / 0.6275 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/0.4956, allocations: 4.818 MB / 0.6322 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.4956, allocations: 8 kB / 0.6322 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4956, allocations: 0 / 0.6322 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/0.4957, allocations: 9.016 kB / 0.6322 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.5124, allocations: 6.493 MB / 0.6385 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.5125, allocations: 0.8125 kB / 0.6385 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/0.5133, allocations: 111.9 kB / 0.6386 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00632/0.5196, allocations: 2.057 MB / 0.6407 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001859/0.5198, allocations: 20 kB / 0.6407 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01895/0.5388, allocations: 8.638 MB / 0.6491 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5388, allocations: 4.875 kB / 0.6491 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/0.5546, allocations: 5.856 MB / 0.6548 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.5552, allocations: 199.5 kB / 0.655 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.5554, allocations: 23.89 kB / 0.655 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5565, allocations: 139.9 kB / 0.6552 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00063/0.5571, allocations: 204.6 kB / 0.6554 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.408e-05/0.5572, allocations: 21.97 kB / 0.6554 GB, free: 7.434 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007281/0.5579, allocations: 0.5471 MB / 0.6559 GB, free: 6.875 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5579, allocations: 0 / 0.6559 GB, free: 6.875 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002377/0.5603, allocations: 0.6944 MB / 0.6566 GB, free: 6.18 MB / 462.1 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.0002808/0.5606, allocations: 124.7 kB / 0.6567 GB, free: 6.051 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01358/0.5742, allocations: 4.642 MB / 0.6613 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.5743, allocations: 0 / 0.6613 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004976/0.5793, allocations: 1.744 MB / 0.663 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007435/0.58, allocations: 71.42 kB / 0.663 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.5839, allocations: 2.454 MB / 0.6654 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.5846, allocations: 1.101 MB / 0.6665 GB, free: 11.99 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004868/0.585, allocations: 103 kB / 0.6666 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.5853, allocations: 55.44 kB / 0.6667 GB, free: 11.84 MB / 478.1 MB Notification: Performance of SimCode: time 1.011e-06/0.5853, allocations: 0 / 0.6667 GB, free: 11.84 MB / 478.1 MB Notification: Performance of Templates: time 0.0389/0.6242, allocations: 27.1 MB / 0.6931 GB, free: 0.9102 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: