Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") translateModel(ConPNlib.Examples.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.0123/0.0123, allocations: 1.337 MB / 13.9 MB, free: 1.406 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.014e-05, allocations: 0 / 19.23 MB, free: 2.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000775/0.0008289, allocations: 363.7 kB / 19.59 MB, free: 1.781 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.02705/0.0279, allocations: 4.023 MB / 23.61 MB, free: 2.809 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.0282, allocations: 48.36 kB / 23.66 MB, free: 2.789 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.07966/0.1079, allocations: 10.75 MB / 34.4 MB, free: 2.09 MB / 18.57 MB Notification: Performance of FrontEnd: time 4.679e-06/0.108, allocations: 2.531 kB / 34.41 MB, free: 2.09 MB / 18.57 MB Notification: Performance of Transformations before backend: time 0.0001647/0.1082, allocations: 11.78 kB / 34.42 MB, free: 2.09 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002441/0.1106, allocations: 0.8632 MB / 35.28 MB, free: 1.508 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.1107, allocations: 9.656 kB / 35.29 MB, free: 1.508 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005028/0.1113, allocations: 82.3 kB / 35.37 MB, free: 1.469 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.1129, allocations: 454.7 kB / 35.81 MB, free: 1.238 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.1131, allocations: 73.91 kB / 35.89 MB, free: 1.234 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003876/0.1135, allocations: 85.16 kB / 35.97 MB, free: 1.234 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004612/0.1182, allocations: 1.148 MB / 37.12 MB, free: 1.125 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.1183, allocations: 0 / 37.12 MB, free: 1.125 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.1185, allocations: 38.22 kB / 37.15 MB, free: 1.125 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.1188, allocations: 66.44 kB / 37.22 MB, free: 1.117 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.1221, allocations: 0.772 MB / 37.99 MB, free: 1.008 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/0.1491, allocations: 2.042 MB / 40.03 MB, free: 1.07 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.1507, allocations: 0.5694 MB / 40.6 MB, free: 0.8555 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.1517, allocations: 340.7 kB / 40.94 MB, free: 0.8477 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001865/0.1536, allocations: 1.028 MB / 41.96 MB, free: 5.934 MB / 24.79 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/0.1538, allocations: 45.31 kB / 42.01 MB, free: 5.895 MB / 24.79 MB Notification: Performance of pre-optimization done (n=42): time 5.942e-06/0.1538, allocations: 1.859 kB / 42.01 MB, free: 5.895 MB / 24.79 MB Notification: Performance of matching and sorting (n=42): time 0.002699/0.1565, allocations: 0.6723 MB / 42.68 MB, free: 5.789 MB / 24.79 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002286/0.1568, allocations: 215.7 kB / 42.89 MB, free: 5.57 MB / 24.79 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/0.1575, allocations: 288.4 kB / 43.17 MB, free: 5.465 MB / 24.79 MB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.1576, allocations: 40.17 kB / 43.21 MB, free: 5.434 MB / 24.79 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.158, allocations: 338 kB / 43.54 MB, free: 5.254 MB / 24.79 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.1583, allocations: 140.4 kB / 43.68 MB, free: 5.184 MB / 24.79 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.743e-05/0.1584, allocations: 12.84 kB / 43.69 MB, free: 5.184 MB / 24.79 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.1586, allocations: 344.9 kB / 44.03 MB, free: 4.871 MB / 24.79 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.1596, allocations: 267.9 kB / 44.29 MB, free: 4.867 MB / 24.79 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.1608, allocations: 444.3 kB / 44.72 MB, free: 4.684 MB / 24.79 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.162, allocations: 340.2 kB / 45.06 MB, free: 4.617 MB / 24.79 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/0.1621, allocations: 5.594 kB / 45.06 MB, free: 4.617 MB / 24.79 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003131/0.1653, allocations: 0.8694 MB / 45.93 MB, free: 4.488 MB / 24.79 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.1655, allocations: 97.98 kB / 46.03 MB, free: 4.426 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.1656, allocations: 3.344 kB / 46.03 MB, free: 4.426 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005582/0.1712, allocations: 443.8 kB / 46.46 MB, free: 4.414 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.1718, allocations: 71.45 kB / 46.53 MB, free: 4.41 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.1733, allocations: 0.79 MB / 47.32 MB, free: 3.832 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007807/0.1741, allocations: 79.45 kB / 47.4 MB, free: 3.805 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.1743, allocations: 44.8 kB / 47.45 MB, free: 3.793 MB / 24.79 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[1].arcType,P2.outTransition[1].arcType,P3.emptying,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],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004863/0.1748, allocations: 252.5 kB / 47.69 MB, free: 3.582 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.175, allocations: 37.86 kB / 47.73 MB, free: 3.566 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/0.1781, allocations: 0.8135 MB / 48.54 MB, free: 2.891 MB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.721e-05/0.1782, allocations: 7.609 kB / 48.55 MB, free: 2.887 MB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.1783, allocations: 0 / 48.55 MB, free: 2.887 MB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.1783, allocations: 4.609 kB / 48.55 MB, free: 2.883 MB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005166/0.1835, allocations: 1.447 MB / 50 MB, free: 1.609 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.1836, allocations: 0 / 50 MB, free: 1.609 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.1842, allocations: 47.25 kB / 50.05 MB, free: 1.57 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/0.1873, allocations: 343.7 kB / 50.38 MB, free: 1.316 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/0.1875, allocations: 23.78 kB / 50.41 MB, free: 1.297 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.1893, allocations: 0.8074 MB / 51.21 MB, free: 0.5273 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.1894, allocations: 1.531 kB / 51.22 MB, free: 0.5273 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02578/0.2152, allocations: 1.245 MB / 52.46 MB, free: 6.891 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.2154, allocations: 111.5 kB / 52.57 MB, free: 6.797 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.2155, allocations: 24.11 kB / 52.59 MB, free: 6.797 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.216, allocations: 45.22 kB / 52.64 MB, free: 6.797 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/0.2163, allocations: 117.4 kB / 52.75 MB, free: 6.797 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/0.2165, allocations: 33.44 kB / 52.78 MB, free: 6.797 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0002715/0.2167, allocations: 196.7 kB / 52.98 MB, free: 6.715 MB / 24.79 MB Notification: Performance of sort global known variables: time 1.203e-06/0.2168, allocations: 0 / 52.98 MB, free: 6.715 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0009738/0.2177, allocations: 231.4 kB / 53.2 MB, free: 6.715 MB / 24.79 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 14 (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],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P3.fireIn[1],P2.fireOut[1],P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005499/0.2183, allocations: 226.7 kB / 53.42 MB, free: 6.625 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.2204, allocations: 0.9061 MB / 54.33 MB, free: 6.5 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2204, allocations: 0 / 54.33 MB, free: 6.5 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.2215, allocations: 0.536 MB / 54.87 MB, free: 6.367 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.222, allocations: 50.28 kB / 54.92 MB, free: 6.367 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.2247, allocations: 1.097 MB / 56.01 MB, free: 6.113 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/0.2253, allocations: 1.034 MB / 57.05 MB, free: 5.414 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0004626/0.2258, allocations: 93.72 kB / 57.14 MB, free: 5.414 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.226, allocations: 27.69 kB / 57.17 MB, free: 5.41 MB / 24.79 MB Notification: Performance of SimCode: time 1.252e-06/0.226, allocations: 0 / 57.17 MB, free: 5.41 MB / 24.79 MB Notification: Performance of Templates: time 0.03831/0.2643, allocations: 7.753 MB / 64.92 MB, free: 5.668 MB / 24.79 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test9.makefile (rm -f ConPNlib_ConPNlib.Examples.Test9.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test9.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test9.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test9.sim & ./ConPNlib_ConPNlib.Examples.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test9.pipe 2>&1)