Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009835/0.0009837, allocations: 174.7 kB / 7.644 MB, free: 1.41 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.294/1.294, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0009185/0.0009183, allocations: 93.78 kB / 261.4 MB, free: 13.43 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.06708/0.06708, allocations: 12.6 MB / 321.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2842/0.2842, allocations: 78.06 MB / 450.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.281e-05/1.284e-05, allocations: 4 kB / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 69.32 MB / 0.5824 GB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5173, allocations: 98.8 MB / 0.6789 GB, free: 9.168 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.5175, allocations: 76.83 kB / 0.6789 GB, free: 9.129 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05466/0.5722, allocations: 23.56 MB / 0.702 GB, free: 5.723 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5722, allocations: 0 / 0.702 GB, free: 5.723 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.345e-05/0.5723, allocations: 23.94 kB / 0.702 GB, free: 5.699 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00407/0.5764, allocations: 1.653 MB / 0.7036 GB, free: 4.113 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.5764, allocations: 8.031 kB / 0.7036 GB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.5794, allocations: 0.5451 MB / 0.7041 GB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.5806, allocations: 0.709 MB / 0.7048 GB, free: 3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.5809, allocations: 236.1 kB / 0.7051 GB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.581, allocations: 39.44 kB / 0.7051 GB, free: 2.699 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/0.5822, allocations: 0.7589 MB / 0.7058 GB, free: 2.242 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.5834, allocations: 0.7245 MB / 0.7065 GB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5834, allocations: 0 / 0.7065 GB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/0.5835, allocations: 0 / 0.7065 GB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.5835, allocations: 19.98 kB / 0.7066 GB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004889/0.5884, allocations: 3.205 MB / 0.7097 GB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.5896, allocations: 1.156 MB / 0.7108 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.5902, allocations: 0.5399 MB / 0.7113 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.5903, allocations: 12.77 kB / 0.7114 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.5904, allocations: 42.53 kB / 0.7114 GB, free: 13.92 MB / 458.7 MB Notification: Performance of pre-optimization done (n=85): time 1.914e-06/0.5904, allocations: 0 / 0.7114 GB, free: 13.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=85): time 0.0114/0.6018, allocations: 3.95 MB / 0.7153 GB, free: 10.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.6018, allocations: 68.17 kB / 0.7153 GB, free: 10.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.6027, allocations: 0.6463 MB / 0.716 GB, free: 9.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.6028, allocations: 25.7 kB / 0.716 GB, free: 9.879 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.6031, allocations: 456.3 kB / 0.7164 GB, free: 9.621 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.6034, allocations: 299.3 kB / 0.7167 GB, free: 9.359 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.6034, allocations: 0 / 0.7167 GB, free: 9.359 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.6035, allocations: 328.1 kB / 0.717 GB, free: 9.043 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/0.6041, allocations: 419.7 kB / 0.7174 GB, free: 8.832 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/0.6048, allocations: 0.5085 MB / 0.7179 GB, free: 8.504 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/0.6054, allocations: 449.5 kB / 0.7183 GB, free: 8.262 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6054, allocations: 0 / 0.7183 GB, free: 8.262 MB / 458.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01161/0.617, allocations: 4.134 MB / 0.7224 GB, free: 4.676 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.6171, allocations: 8 kB / 0.7224 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.6171, allocations: 0 / 0.7224 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005827/0.6229, allocations: 1.748 MB / 0.7241 GB, free: 3.148 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.6237, allocations: 119 kB / 0.7242 GB, free: 3.035 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/0.6378, allocations: 7.236 MB / 0.7313 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.6395, allocations: 163.2 kB / 0.7314 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-05/0.6396, allocations: 31.98 kB / 0.7315 GB, free: 13.82 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.6399, allocations: 116.9 kB / 0.7316 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.6401, allocations: 102.7 kB / 0.7317 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.6521, allocations: 4.039 MB / 0.7356 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.6522, allocations: 8 kB / 0.7356 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6522, allocations: 4 kB / 0.7356 GB, free: 9.531 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.6522, allocations: 3.984 kB / 0.7356 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.6654, allocations: 5.528 MB / 0.741 GB, free: 3.875 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.6655, allocations: 4 kB / 0.741 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/0.6661, allocations: 99.89 kB / 0.7411 GB, free: 3.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005002/0.6711, allocations: 1.655 MB / 0.7427 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.6712, allocations: 8 kB / 0.7427 GB, free: 2.105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.6833, allocations: 6.203 MB / 0.7488 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6833, allocations: 0 / 0.7488 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/0.6963, allocations: 4.795 MB / 0.7535 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.6969, allocations: 191.7 kB / 0.7537 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003503/0.6973, allocations: 8 kB / 0.7537 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.6985, allocations: 115.9 kB / 0.7538 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000668/0.6992, allocations: 204.4 kB / 0.754 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6993, allocations: 20 kB / 0.754 GB, free: 6.418 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007448/0.7001, allocations: 0.5075 MB / 0.7545 GB, free: 5.898 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7001, allocations: 0 / 0.7545 GB, free: 5.898 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001308/0.7014, allocations: 371.5 kB / 0.7548 GB, free: 5.535 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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.0002858/0.7017, allocations: 127.2 kB / 0.755 GB, free: 5.402 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004986/0.7067, allocations: 1.906 MB / 0.7568 GB, free: 3.484 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7067, allocations: 0 / 0.7568 GB, free: 3.484 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00404/0.7108, allocations: 1.419 MB / 0.7582 GB, free: 2.055 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.7115, allocations: 63.27 kB / 0.7583 GB, free: 1.992 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.7145, allocations: 1.434 MB / 0.7597 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.7152, allocations: 1.06 MB / 0.7607 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003964/0.7156, allocations: 61.22 kB / 0.7608 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.7159, allocations: 47.44 kB / 0.7608 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.7159, allocations: 0 / 0.7608 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.02979/0.7457, allocations: 18.04 MB / 0.7784 GB, free: 13.29 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)