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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.2 MB / 218.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 90.59 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06809/0.06809, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2851/0.2851, allocations: 78.04 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.552e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09759/0.09762, allocations: 69.33 MB / 0.5895 GB, free: 2.477 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4522, allocations: 99.08 MB / 0.6862 GB, free: 324 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.4525, allocations: 77.72 kB / 0.6863 GB, free: 284 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06177/0.5142, allocations: 23.14 MB / 0.7089 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5143, allocations: 0 / 0.7089 GB, free: 12.72 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.197e-05/0.5143, allocations: 20 kB / 0.7089 GB, free: 12.7 MB / 458.7 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.004226/0.5186, allocations: 1.62 MB / 0.7105 GB, free: 11.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5186, allocations: 11.98 kB / 0.7105 GB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.5219, allocations: 0.5404 MB / 0.7111 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.5231, allocations: 0.6786 MB / 0.7117 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.5234, allocations: 261.9 kB / 0.712 GB, free: 9.777 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.5236, allocations: 69.88 kB / 0.712 GB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.5249, allocations: 0.7961 MB / 0.7128 GB, free: 9.223 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.525, allocations: 0 / 0.7128 GB, free: 9.223 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.525, allocations: 25.88 kB / 0.7128 GB, free: 9.215 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.5251, allocations: 20 kB / 0.7129 GB, free: 9.195 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.5264, allocations: 0.7972 MB / 0.7136 GB, free: 8.699 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/0.5316, allocations: 3.257 MB / 0.7168 GB, free: 6.172 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.5329, allocations: 1.163 MB / 0.718 GB, free: 5.188 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007503/0.5337, allocations: 0.5519 MB / 0.7185 GB, free: 4.891 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.5338, allocations: 16.75 kB / 0.7185 GB, free: 4.875 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.5338, allocations: 38.97 kB / 0.7185 GB, free: 4.832 MB / 458.7 MB Notification: Performance of pre-optimization done (n=84): time 2.876e-06/0.5338, allocations: 0 / 0.7185 GB, free: 4.832 MB / 458.7 MB Notification: Performance of matching and sorting (n=84): time 0.01216/0.546, allocations: 3.989 MB / 0.7224 GB, free: 1.371 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.5461, allocations: 60.19 kB / 0.7225 GB, free: 1.301 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009432/0.547, allocations: 0.6709 MB / 0.7232 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.5472, allocations: 41.64 kB / 0.7232 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.5474, allocations: 445.4 kB / 0.7236 GB, free: 492 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.5477, allocations: 301 kB / 0.7239 GB, free: 228 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.5478, allocations: 13.94 kB / 0.7239 GB, free: 224 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5479, allocations: 334.6 kB / 0.7242 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.5486, allocations: 423.8 kB / 0.7246 GB, free: 15.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007293/0.5493, allocations: 0.5145 MB / 0.7251 GB, free: 15.34 MB / 474.7 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.0009414/0.5503, allocations: 0.5538 MB / 0.7257 GB, free: 14.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5503, allocations: 0 / 0.7257 GB, free: 14.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01249/0.5628, allocations: 4.211 MB / 0.7298 GB, free: 11.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.5629, allocations: 8 kB / 0.7298 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5629, allocations: 3.984 kB / 0.7298 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006064/0.569, allocations: 1.804 MB / 0.7316 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.5696, allocations: 119.5 kB / 0.7317 GB, free: 9.629 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/0.5845, allocations: 7.521 MB / 0.739 GB, free: 4.488 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.5857, allocations: 180.1 kB / 0.7392 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.5858, allocations: 31.98 kB / 0.7392 GB, free: 4.285 MB / 474.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.5861, allocations: 147.7 kB / 0.7394 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.5863, allocations: 98.78 kB / 0.7395 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.5985, allocations: 4.109 MB / 0.7435 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.5985, allocations: 12 kB / 0.7435 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.5985, allocations: 0 / 0.7435 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.5986, allocations: 3.984 kB / 0.7435 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.6127, allocations: 5.617 MB / 0.749 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6127, allocations: 0 / 0.749 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.6133, allocations: 103.9 kB / 0.7491 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005207/0.6185, allocations: 1.687 MB / 0.7507 GB, free: 8.348 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.6187, allocations: 16 kB / 0.7507 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/0.6314, allocations: 6.325 MB / 0.7569 GB, free: 1.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6314, allocations: 0 / 0.7569 GB, free: 1.871 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/0.645, allocations: 4.826 MB / 0.7616 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.6453, allocations: 187.6 kB / 0.7618 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.6455, allocations: 19.95 kB / 0.7618 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.6465, allocations: 127.9 kB / 0.7619 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006101/0.6471, allocations: 200.4 kB / 0.7621 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.6472, allocations: 23.98 kB / 0.7622 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006857/0.6479, allocations: 0.5228 MB / 0.7627 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6479, allocations: 0 / 0.7627 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001071/0.649, allocations: 407.5 kB / 0.7631 GB, free: 11.52 MB / 0.4948 GB 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 () * 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 (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.00025/0.6492, allocations: 135.1 kB / 0.7632 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005141/0.6544, allocations: 1.969 MB / 0.7651 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6544, allocations: 0 / 0.7651 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004137/0.6586, allocations: 1.458 MB / 0.7665 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.6592, allocations: 75.27 kB / 0.7666 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.6615, allocations: 1.378 MB / 0.768 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.6621, allocations: 1.056 MB / 0.769 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.6624, allocations: 61.23 kB / 0.769 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.6625, allocations: 47.44 kB / 0.7691 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.6625, allocations: 0 / 0.7691 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of Templates: time 0.02797/0.6905, allocations: 19.25 MB / 0.7879 GB, free: 2.008 MB / 0.5105 GB 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)