Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1151/0.1151, allocations: 12.6 MB / 28.1 MB, free: 344 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 107.5 kB / 31.7 MB, free: 3.512 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 240.3 MB, free: 12.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 195.4 kB / 290.6 MB, free: 11.03 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4505/0.4505, allocations: 78.49 MB / 419.1 MB, free: 10.84 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 135.8 kB / 499.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3233, allocations: 68.11 MB / 0.5546 GB, free: 21.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.005654/0.329, allocations: 5.886 MB / 0.5603 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003599/0.3327, allocations: 1.725 MB / 0.562 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007078/0.3334, allocations: 15.94 kB / 0.562 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.334, allocations: 214.2 kB / 0.5622 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.3358, allocations: 0.6776 MB / 0.5629 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.337, allocations: 0.5803 MB / 0.5635 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.3382, allocations: 1.265 MB / 0.5647 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004333/0.3386, allocations: 289.8 kB / 0.565 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.3393, allocations: 0.529 MB / 0.5655 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005508/0.3398, allocations: 0.6611 MB / 0.5661 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.34, allocations: 92 kB / 0.5662 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.3404, allocations: 231.8 kB / 0.5664 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3406, allocations: 246.9 kB / 0.5667 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.341, allocations: 0.5554 MB / 0.5672 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.342, allocations: 1.366 MB / 0.5685 GB, free: 7.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3421, allocations: 3.984 kB / 0.5685 GB, free: 7.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3421, allocations: 0 / 0.5685 GB, free: 7.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.3421, allocations: 4 kB / 0.5686 GB, free: 7.125 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.007279/0.3494, allocations: 2.384 MB / 0.5709 GB, free: 4.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3494, allocations: 11.98 kB / 0.5709 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004539/0.354, allocations: 0.7596 MB / 0.5716 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.3552, allocations: 0.7166 MB / 0.5723 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.3555, allocations: 256.2 kB / 0.5726 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.3556, allocations: 75.91 kB / 0.5727 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.3574, allocations: 0.9599 MB / 0.5736 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.3575, allocations: 7.938 kB / 0.5736 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.232e-05/0.3576, allocations: 24 kB / 0.5736 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3576, allocations: 16 kB / 0.5736 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.3594, allocations: 0.9916 MB / 0.5746 GB, free: 0.7891 MB / 382.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.005632/0.365, allocations: 3.217 MB / 0.5777 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.3673, allocations: 1.332 MB / 0.579 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.3687, allocations: 0.7143 MB / 0.5797 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.68e-05/0.3688, allocations: 16.97 kB / 0.5798 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.3689, allocations: 43.56 kB / 0.5798 GB, free: 11.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=84): time 4.819e-06/0.3689, allocations: 0 / 0.5798 GB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=84): time 0.02523/0.3941, allocations: 6.379 MB / 0.586 GB, free: 4.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.3942, allocations: 64.34 kB / 0.5861 GB, free: 4.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.3955, allocations: 0.8103 MB / 0.5869 GB, free: 3.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.3957, allocations: 41.7 kB / 0.5869 GB, free: 3.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.3961, allocations: 428.5 kB / 0.5873 GB, free: 3.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/0.3965, allocations: 299.7 kB / 0.5876 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.3969, allocations: 194.8 kB / 0.5878 GB, free: 2.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.397, allocations: 345.9 kB / 0.5881 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.3986, allocations: 0.6741 MB / 0.5888 GB, free: 1.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.4002, allocations: 0.8072 MB / 0.5896 GB, free: 1.039 MB / 398.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.order5Type1_Inputs_Outputs.delta = 0.0 (order5Type1_Inputs_Outputs.w_b * (-1.0 + $START.order5Type1_Inputs_Outputs.w) = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.003406/0.4036, allocations: 1.573 MB / 0.5911 GB, free: 15.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.4036, allocations: 4 kB / 0.5911 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01404/0.4177, allocations: 4.196 MB / 0.5952 GB, free: 11.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.4177, allocations: 4 kB / 0.5952 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4178, allocations: 4 kB / 0.5952 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007018/0.4248, allocations: 1.873 MB / 0.5971 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.4257, allocations: 175.7 kB / 0.5972 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02273/0.4485, allocations: 9.574 MB / 0.6066 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.45, allocations: 155 kB / 0.6067 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.621e-05/0.4501, allocations: 40 kB / 0.6068 GB, free: 15.24 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.order5Type1_Inputs_Outputs.delta = 0.0. 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 (101): * Single equations (assignments): 100 * 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 {(24,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004577/0.4506, allocations: 234.5 kB / 0.607 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.4508, allocations: 110.6 kB / 0.6071 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.4637, allocations: 3.876 MB / 0.6109 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.4638, allocations: 12 kB / 0.6109 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4638, allocations: 0 / 0.6109 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/0.4638, allocations: 3.984 kB / 0.6109 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/0.479, allocations: 5.36 MB / 0.6161 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.4791, allocations: 0 / 0.6161 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/0.4797, allocations: 87.89 kB / 0.6162 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006121/0.4859, allocations: 1.749 MB / 0.6179 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/0.4861, allocations: 16 kB / 0.6179 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/0.5054, allocations: 8.077 MB / 0.6258 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5055, allocations: 0 / 0.6258 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.5207, allocations: 4.715 MB / 0.6304 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.5211, allocations: 187.7 kB / 0.6306 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.5213, allocations: 23.98 kB / 0.6306 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.5223, allocations: 87.89 kB / 0.6307 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007385/0.5231, allocations: 200.7 kB / 0.6309 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.5231, allocations: 16 kB / 0.6309 GB, free: 6.137 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007969/0.524, allocations: 0.55 MB / 0.6314 GB, free: 5.574 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.524, allocations: 0 / 0.6314 GB, free: 5.574 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00147/0.5254, allocations: 419.6 kB / 0.6318 GB, free: 5.164 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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 (51): * Single equations (assignments): 50 * 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.0003268/0.5258, allocations: 124.3 kB / 0.632 GB, free: 5.035 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007336/0.5331, allocations: 2.414 MB / 0.6343 GB, free: 2.605 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.5332, allocations: 0 / 0.6343 GB, free: 2.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004808/0.538, allocations: 1.519 MB / 0.6358 GB, free: 1.074 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008866/0.5389, allocations: 79.28 kB / 0.6359 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.5426, allocations: 1.866 MB / 0.6377 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/0.5433, allocations: 1.033 MB / 0.6387 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.5437, allocations: 82.3 kB / 0.6388 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.5439, allocations: 59.42 kB / 0.6389 GB, free: 13.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5439, allocations: 0 / 0.6389 GB, free: 13.9 MB / 462.1 MB Notification: Performance of Templates: time 0.03622/0.5801, allocations: 23.15 MB / 0.6615 GB, free: 6.762 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)