Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test4.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") translateModel(ConPNlib.Examples.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009117/0.009116, allocations: 1.338 MB / 13.9 MB, free: 1.406 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.075e-05, allocations: 4 kB / 19.23 MB, free: 1.945 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000897/0.0009502, allocations: 360.6 kB / 19.59 MB, free: 1.625 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.02266/0.02364, allocations: 4.012 MB / 23.6 MB, free: 2.328 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001619/0.02387, allocations: 50.98 kB / 23.65 MB, free: 2.309 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.06869/0.09258, allocations: 9.19 MB / 32.84 MB, free: 2.594 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.865e-06/0.09265, allocations: 5.25 kB / 32.84 MB, free: 2.594 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.384e-05/0.09272, allocations: 11.69 kB / 32.85 MB, free: 2.594 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002094/0.09483, allocations: 0.7468 MB / 33.6 MB, free: 2.07 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 8.971e-05/0.09495, allocations: 12.86 kB / 33.61 MB, free: 2.07 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004723/0.09544, allocations: 62.98 kB / 33.67 MB, free: 2.039 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.09665, allocations: 391 kB / 34.06 MB, free: 1.816 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.09682, allocations: 51.12 kB / 34.11 MB, free: 1.812 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.09713, allocations: 70.05 kB / 34.17 MB, free: 1.812 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/0.1006, allocations: 0.8866 MB / 35.06 MB, free: 1.727 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.1007, allocations: 0 / 35.06 MB, free: 1.727 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.1009, allocations: 37.11 kB / 35.1 MB, free: 1.727 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/0.1011, allocations: 45.73 kB / 35.14 MB, free: 1.723 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.1036, allocations: 0.5898 MB / 35.73 MB, free: 1.715 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005534/0.1092, allocations: 1.585 MB / 37.32 MB, free: 1.191 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.1105, allocations: 427.9 kB / 37.74 MB, free: 0.9531 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008644/0.1114, allocations: 252.8 kB / 37.98 MB, free: 0.8555 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02092/0.1324, allocations: 0.8575 MB / 38.84 MB, free: 2.008 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.1325, allocations: 33.75 kB / 38.87 MB, free: 1.969 MB / 18.57 MB Notification: Performance of pre-optimization done (n=33): time 5.931e-06/0.1325, allocations: 1.719 kB / 38.87 MB, free: 1.969 MB / 18.57 MB Notification: Performance of matching and sorting (n=33): time 0.00241/0.135, allocations: 0.5697 MB / 39.44 MB, free: 1.855 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.1352, allocations: 177.9 kB / 39.62 MB, free: 1.668 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.1358, allocations: 243 kB / 39.85 MB, free: 1.574 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.1359, allocations: 35.05 kB / 39.89 MB, free: 1.543 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.1363, allocations: 278.1 kB / 40.16 MB, free: 1.398 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.1366, allocations: 114.1 kB / 40.27 MB, free: 1.336 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1367, allocations: 9.594 kB / 40.28 MB, free: 1.336 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1369, allocations: 342 kB / 40.62 MB, free: 1.023 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009037/0.1378, allocations: 210.9 kB / 40.82 MB, free: 1.023 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.1389, allocations: 332.9 kB / 41.15 MB, free: 0.8906 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008793/0.1398, allocations: 293.4 kB / 41.43 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.1399, allocations: 0 / 41.43 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00269/0.1426, allocations: 0.7025 MB / 42.14 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.1428, allocations: 77.89 kB / 42.21 MB, free: 0.6406 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.1428, allocations: 7.25 kB / 42.22 MB, free: 0.6406 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/0.1458, allocations: 270.1 kB / 42.48 MB, free: 0.6328 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.1464, allocations: 52.66 kB / 42.53 MB, free: 0.6328 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.148, allocations: 0.7507 MB / 43.28 MB, free: 6.348 MB / 24.81 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.1488, allocations: 65.19 kB / 43.35 MB, free: 6.332 MB / 24.81 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.149, allocations: 31.53 kB / 43.38 MB, free: 6.332 MB / 24.81 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.P1.fireOut[1],P1.emptying,P2.outTransition[1].arcType,P1.feeding,P1.outTransition[1].arcType,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T1.activation.arcType[1],T1.activation.fed[1],T2.activation.arcType[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005193/0.1496, allocations: 231.6 kB / 43.61 MB, free: 6.16 MB / 24.81 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.1498, allocations: 25.34 kB / 43.63 MB, free: 6.148 MB / 24.81 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.1516, allocations: 0.7239 MB / 44.35 MB, free: 6.016 MB / 24.81 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.959e-05/0.1517, allocations: 6 kB / 44.36 MB, free: 6.016 MB / 24.81 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1517, allocations: 0 / 44.36 MB, free: 6.016 MB / 24.81 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.1517, allocations: 3.797 kB / 44.36 MB, free: 6.016 MB / 24.81 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.1542, allocations: 1.213 MB / 45.58 MB, free: 5.543 MB / 24.81 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1542, allocations: 0 / 45.58 MB, free: 5.543 MB / 24.81 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.1545, allocations: 25.31 kB / 45.6 MB, free: 5.543 MB / 24.81 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.1559, allocations: 288.8 kB / 45.88 MB, free: 5.379 MB / 24.81 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.1561, allocations: 16.16 kB / 45.9 MB, free: 5.367 MB / 24.81 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.1572, allocations: 0.7681 MB / 46.67 MB, free: 4.625 MB / 24.81 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1573, allocations: 0 / 46.67 MB, free: 4.625 MB / 24.81 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.1597, allocations: 0.983 MB / 47.65 MB, free: 3.719 MB / 24.81 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1599, allocations: 100.8 kB / 47.75 MB, free: 3.602 MB / 24.81 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.16, allocations: 25.83 kB / 47.77 MB, free: 3.582 MB / 24.81 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.1604, allocations: 34.98 kB / 47.81 MB, free: 3.555 MB / 24.81 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/0.1607, allocations: 88.66 kB / 47.89 MB, free: 3.496 MB / 24.81 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.57e-05/0.1608, allocations: 27.98 kB / 47.92 MB, free: 3.477 MB / 24.81 MB Notification: Performance of sorting global known variables: time 0.0002782/0.1611, allocations: 172.7 kB / 48.09 MB, free: 3.316 MB / 24.81 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1611, allocations: 0 / 48.09 MB, free: 3.316 MB / 24.81 MB Notification: Performance of remove unused functions: time 0.001371/0.1625, allocations: 197.9 kB / 48.28 MB, free: 3.145 MB / 24.81 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 11 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1]) * Number of discrete states: 8 (P2.fireOut[1],P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007365/0.1633, allocations: 211.8 kB / 48.49 MB, free: 2.953 MB / 24.81 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.1657, allocations: 0.728 MB / 49.22 MB, free: 2.266 MB / 24.81 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1658, allocations: 0 / 49.22 MB, free: 2.266 MB / 24.81 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.167, allocations: 437.9 kB / 49.65 MB, free: 1.852 MB / 24.81 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.1676, allocations: 40.7 kB / 49.69 MB, free: 1.82 MB / 24.81 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.1707, allocations: 0.8478 MB / 50.53 MB, free: 1.07 MB / 24.81 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.1718, allocations: 0.9447 MB / 51.48 MB, free: 204 kB / 24.81 MB Notification: Performance of simCode: alias equations: time 0.0005131/0.1724, allocations: 80.11 kB / 51.56 MB, free: 156 kB / 24.81 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.1725, allocations: 26.58 kB / 51.58 MB, free: 132 kB / 24.81 MB Notification: Performance of SimCode: time 1.343e-06/0.1726, allocations: 0 / 51.58 MB, free: 132 kB / 24.81 MB Notification: Performance of Templates: time 0.0446/0.2172, allocations: 6.434 MB / 58.02 MB, free: 4.805 MB / 24.81 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test4.makefile (rm -f ConPNlib_ConPNlib.Examples.Test4.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test4.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test4.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test4.sim & ./ConPNlib_ConPNlib.Examples.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test4.pipe 2>&1)