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.01646/0.01646, allocations: 1.356 MB / 16.3 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.705e-05, allocations: 0 / 23.22 MB, free: 4.043 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000706/0.0007494, allocations: 351.1 kB / 23.57 MB, free: 3.895 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005075/0.005838, allocations: 4.112 MB / 27.68 MB, free: 4.602 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000158/0.006043, allocations: 47.98 kB / 27.73 MB, free: 4.555 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.04726/0.05332, allocations: 9.264 MB / 36.99 MB, free: 4.457 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.164e-06/0.05337, allocations: 1.312 kB / 36.99 MB, free: 4.457 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.05341, allocations: 11.17 kB / 37 MB, free: 4.449 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.001307/0.05472, allocations: 0.7656 MB / 37.77 MB, free: 3.621 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.05478, allocations: 13.11 kB / 37.78 MB, free: 3.609 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.05497, allocations: 60.2 kB / 37.84 MB, free: 3.551 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006951/0.05567, allocations: 401.2 kB / 38.23 MB, free: 3.117 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.05574, allocations: 53.64 kB / 38.28 MB, free: 3.066 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.0559, allocations: 68.34 kB / 38.35 MB, free: 3 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.05794, allocations: 0.9003 MB / 39.25 MB, free: 2.078 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.058, allocations: 3.938 kB / 39.25 MB, free: 2.074 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.43e-05/0.05811, allocations: 31.98 kB / 39.28 MB, free: 2.043 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.05823, allocations: 49.23 kB / 39.33 MB, free: 1.992 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.05978, allocations: 0.6258 MB / 39.96 MB, free: 1.367 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01686/0.07666, allocations: 1.577 MB / 41.54 MB, free: 2.719 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.07776, allocations: 467.1 kB / 41.99 MB, free: 2.598 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000744/0.07852, allocations: 0.8553 MB / 42.85 MB, free: 1.66 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.07856, allocations: 40.59 kB / 42.89 MB, free: 1.621 MB / 18.57 MB Notification: Performance of pre-optimization done (n=33): time 3.386e-06/0.07858, allocations: 1.312 kB / 42.89 MB, free: 1.621 MB / 18.57 MB Notification: Performance of matching and sorting (n=33): time 0.00329/0.08188, allocations: 1.146 MB / 44.03 MB, free: 1.227 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/0.082, allocations: 184.2 kB / 44.21 MB, free: 1.039 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.08234, allocations: 234.4 kB / 44.44 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.08243, allocations: 36.02 kB / 44.48 MB, free: 0.9141 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.08265, allocations: 279.6 kB / 44.75 MB, free: 0.7539 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.08278, allocations: 109 kB / 44.86 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.08285, allocations: 10 kB / 44.87 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.08299, allocations: 343.1 kB / 45.2 MB, free: 6.613 MB / 24.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006027/0.08361, allocations: 226.3 kB / 45.42 MB, free: 6.613 MB / 24.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.08428, allocations: 353.6 kB / 45.77 MB, free: 6.48 MB / 24.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.08495, allocations: 301.4 kB / 46.06 MB, free: 6.414 MB / 24.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.08497, allocations: 0 / 46.06 MB, free: 6.414 MB / 24.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00176/0.08674, allocations: 0.747 MB / 46.81 MB, free: 6.227 MB / 24.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.08688, allocations: 76.59 kB / 46.88 MB, free: 6.156 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.0869, allocations: 3.938 kB / 46.89 MB, free: 6.156 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/0.08875, allocations: 274.7 kB / 47.16 MB, free: 6.125 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.08913, allocations: 60.84 kB / 47.22 MB, free: 6.117 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009837/0.09013, allocations: 0.7472 MB / 47.96 MB, free: 5.535 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.09061, allocations: 67.83 kB / 48.03 MB, free: 5.508 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/0.09071, allocations: 27.92 kB / 48.06 MB, free: 5.504 MB / 24.8 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 () * Number of clocked 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.0005915/0.09131, allocations: 338.1 kB / 48.39 MB, free: 5.234 MB / 24.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.09143, allocations: 35 kB / 48.42 MB, free: 5.203 MB / 24.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.09355, allocations: 0.7437 MB / 49.17 MB, free: 4.562 MB / 24.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/0.09362, allocations: 7.094 kB / 49.17 MB, free: 4.559 MB / 24.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.09363, allocations: 0 / 49.17 MB, free: 4.559 MB / 24.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.09365, allocations: 5.875 kB / 49.18 MB, free: 4.555 MB / 24.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.09645, allocations: 1.246 MB / 50.42 MB, free: 3.441 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.0965, allocations: 0 / 50.42 MB, free: 3.441 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.09676, allocations: 36.69 kB / 50.46 MB, free: 3.414 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.09825, allocations: 294.5 kB / 50.75 MB, free: 3.199 MB / 24.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/0.09836, allocations: 15 kB / 50.76 MB, free: 3.188 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.09946, allocations: 0.7753 MB / 51.54 MB, free: 2.445 MB / 24.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.09949, allocations: 0 / 51.54 MB, free: 2.445 MB / 24.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.1021, allocations: 1.026 MB / 52.56 MB, free: 1.516 MB / 24.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.1022, allocations: 107.7 kB / 52.67 MB, free: 1.395 MB / 24.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.1023, allocations: 16 kB / 52.68 MB, free: 1.379 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.1027, allocations: 38.12 kB / 52.72 MB, free: 1.352 MB / 24.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.103, allocations: 88.8 kB / 52.81 MB, free: 1.277 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.221e-05/0.1031, allocations: 27.98 kB / 52.84 MB, free: 1.25 MB / 24.8 MB Notification: Performance of sorting global known variables: time 0.0002666/0.1034, allocations: 168.5 kB / 53 MB, free: 1.082 MB / 24.8 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1034, allocations: 0 / 53 MB, free: 1.082 MB / 24.8 MB Notification: Performance of remove unused functions: time 0.0008533/0.1042, allocations: 194.3 kB / 53.19 MB, free: 0.9102 MB / 24.8 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) * Number of clocked states: 0 () * 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.0005461/0.1048, allocations: 216.8 kB / 53.4 MB, free: 0.7148 MB / 24.8 MB Notification: Performance of simCode: created initialization part: time 0.01597/0.1208, allocations: 0.7576 MB / 54.16 MB, free: 8.75 MB / 24.8 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.1208, allocations: 3.938 kB / 54.16 MB, free: 8.75 MB / 24.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009988/0.1219, allocations: 456.6 kB / 54.61 MB, free: 8.621 MB / 24.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1223, allocations: 28.97 kB / 54.64 MB, free: 8.621 MB / 24.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.1247, allocations: 1.222 MB / 55.86 MB, free: 8.105 MB / 24.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.1252, allocations: 0.9516 MB / 56.81 MB, free: 7.41 MB / 24.8 MB Notification: Performance of simCode: alias equations: time 0.0003121/0.1255, allocations: 74.12 kB / 56.88 MB, free: 7.41 MB / 24.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.1256, allocations: 24.34 kB / 56.91 MB, free: 7.402 MB / 24.8 MB Notification: Performance of SimCode: time 1.072e-06/0.1256, allocations: 0 / 56.91 MB, free: 7.402 MB / 24.8 MB Notification: Performance of Templates: time 0.01614/0.1418, allocations: 6.464 MB / 63.37 MB, free: 3.305 MB / 24.8 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)