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.001274/0.001274, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.3 MB / 213.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000859/0.0008593, allocations: 82.72 kB / 261.4 MB, free: 1.684 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.06421/0.06421, allocations: 12.6 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4241/0.4241, allocations: 78.06 MB / 450.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.608e-05/1.61e-05, allocations: 2.812 kB / 0.5147 GB, free: 41.85 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 69.33 MB / 0.5824 GB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.235, allocations: 98.42 MB / 0.6785 GB, free: 13.76 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.2352, allocations: 75.97 kB / 0.6786 GB, free: 13.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3403/0.5755, allocations: 22.82 MB / 0.7009 GB, free: 96.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5756, allocations: 4 kB / 0.7009 GB, free: 96.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.5757, allocations: 17.5 kB / 0.7009 GB, free: 96.25 MB / 474.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.005157/0.5808, allocations: 1.613 MB / 0.7025 GB, free: 95.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.5809, allocations: 8.469 kB / 0.7025 GB, free: 95.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/0.5844, allocations: 0.5448 MB / 0.703 GB, free: 95.49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.5862, allocations: 0.6839 MB / 0.7037 GB, free: 95.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.5865, allocations: 235 kB / 0.7039 GB, free: 94.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.5867, allocations: 41.58 kB / 0.7039 GB, free: 94.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001686/0.5884, allocations: 0.7542 MB / 0.7047 GB, free: 94.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.5901, allocations: 0.7031 MB / 0.7054 GB, free: 94.92 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.5902, allocations: 0.6562 kB / 0.7054 GB, free: 94.92 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.5902, allocations: 0 / 0.7054 GB, free: 94.92 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.5903, allocations: 16.12 kB / 0.7054 GB, free: 94.92 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.5958, allocations: 3.155 MB / 0.7085 GB, free: 94.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.597, allocations: 1.127 MB / 0.7096 GB, free: 93.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.5976, allocations: 0.523 MB / 0.7101 GB, free: 93.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.5977, allocations: 17.58 kB / 0.7101 GB, free: 93.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.5977, allocations: 54.45 kB / 0.7101 GB, free: 93.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 2.395e-06/0.5978, allocations: 0 / 0.7101 GB, free: 93.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=84): time 0.01084/0.6086, allocations: 3.923 MB / 0.714 GB, free: 93.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.6087, allocations: 62.92 kB / 0.714 GB, free: 92.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.6097, allocations: 0.6209 MB / 0.7146 GB, free: 92.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.6099, allocations: 25.7 kB / 0.7147 GB, free: 92.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.6102, allocations: 445.2 kB / 0.7151 GB, free: 92.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.6105, allocations: 287.6 kB / 0.7154 GB, free: 92.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.6106, allocations: 3.938 kB / 0.7154 GB, free: 92.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.6107, allocations: 335.4 kB / 0.7157 GB, free: 91.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.6113, allocations: 409 kB / 0.7161 GB, free: 91.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.6119, allocations: 0.4978 MB / 0.7166 GB, free: 91.49 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.0008717/0.6128, allocations: 0.5332 MB / 0.7171 GB, free: 91.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.6128, allocations: 0 / 0.7171 GB, free: 91.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01124/0.624, allocations: 4.137 MB / 0.7211 GB, free: 89.15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.6241, allocations: 8 kB / 0.7211 GB, free: 89.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.6241, allocations: 0 / 0.7211 GB, free: 89.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005523/0.6297, allocations: 1.763 MB / 0.7229 GB, free: 87.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.6303, allocations: 127.8 kB / 0.723 GB, free: 87.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.6436, allocations: 7.312 MB / 0.7301 GB, free: 80 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.645, allocations: 162.1 kB / 0.7303 GB, free: 79.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.6451, allocations: 31.98 kB / 0.7303 GB, free: 79.81 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.0002732/0.6454, allocations: 117.2 kB / 0.7304 GB, free: 79.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.6457, allocations: 98.78 kB / 0.7305 GB, free: 79.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.6564, allocations: 4.031 MB / 0.7344 GB, free: 75.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.6565, allocations: 12 kB / 0.7345 GB, free: 75.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6565, allocations: 0 / 0.7345 GB, free: 75.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.6565, allocations: 3.984 kB / 0.7345 GB, free: 75.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.6693, allocations: 5.457 MB / 0.7398 GB, free: 69.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.6694, allocations: 0 / 0.7398 GB, free: 69.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/0.67, allocations: 99.81 kB / 0.7399 GB, free: 69.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004645/0.6747, allocations: 1.669 MB / 0.7415 GB, free: 68.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.6748, allocations: 7.984 kB / 0.7415 GB, free: 68.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/0.6859, allocations: 6.183 MB / 0.7476 GB, free: 61.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6859, allocations: 0 / 0.7476 GB, free: 61.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.6978, allocations: 4.752 MB / 0.7522 GB, free: 57.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.6983, allocations: 195.6 kB / 0.7524 GB, free: 56.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/0.6986, allocations: 0 / 0.7524 GB, free: 56.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.6998, allocations: 116 kB / 0.7525 GB, free: 56.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/0.7004, allocations: 204.4 kB / 0.7527 GB, free: 56.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.7005, allocations: 23.94 kB / 0.7527 GB, free: 56.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006844/0.7012, allocations: 487.1 kB / 0.7532 GB, free: 56.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7012, allocations: 0 / 0.7532 GB, free: 56.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001417/0.7026, allocations: 363.5 kB / 0.7535 GB, free: 55.75 MB / 474.7 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 () * 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.0002909/0.7029, allocations: 130.9 kB / 0.7537 GB, free: 55.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004653/0.7076, allocations: 1.894 MB / 0.7555 GB, free: 53.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7076, allocations: 0 / 0.7555 GB, free: 53.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00362/0.7112, allocations: 1.421 MB / 0.7569 GB, free: 52.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.7118, allocations: 63.23 kB / 0.757 GB, free: 52.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.7142, allocations: 1.346 MB / 0.7583 GB, free: 50.85 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.7146, allocations: 1.052 MB / 0.7593 GB, free: 49.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.7149, allocations: 57.16 kB / 0.7593 GB, free: 49.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.7151, allocations: 55.36 kB / 0.7594 GB, free: 49.66 MB / 474.7 MB Notification: Performance of SimCode: time 4.2e-07/0.7151, allocations: 3.938 kB / 0.7594 GB, free: 49.66 MB / 474.7 MB Notification: Performance of Templates: time 0.02381/0.7389, allocations: 17.83 MB / 0.7768 GB, free: 31.87 MB / 474.7 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)