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.01226/0.01226, allocations: 1.341 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.89e-05, allocations: 3.375 kB / 13.13 MB, free: 2.273 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008121/0.0008588, allocations: 359.6 kB / 13.48 MB, free: 2.238 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.00719/0.008068, allocations: 3.363 MB / 16.85 MB, free: 1.91 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.008315, allocations: 47.98 kB / 16.89 MB, free: 1.863 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.1034/0.1117, allocations: 10.64 MB / 27.53 MB, free: 3.652 MB / 14.12 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1118, allocations: 0 / 27.53 MB, free: 3.652 MB / 14.12 MB Notification: Performance of Transformations before backend: time 5.179e-05/0.1119, allocations: 13.88 kB / 27.55 MB, free: 3.652 MB / 14.12 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.002124/0.114, allocations: 0.8599 MB / 28.41 MB, free: 3.059 MB / 14.12 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.1141, allocations: 13.59 kB / 28.42 MB, free: 3.055 MB / 14.12 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/0.1145, allocations: 81.02 kB / 28.5 MB, free: 3.016 MB / 14.12 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.116, allocations: 462 kB / 28.95 MB, free: 2.766 MB / 14.12 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.1161, allocations: 31.84 kB / 28.98 MB, free: 2.766 MB / 14.12 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.1164, allocations: 56.69 kB / 29.04 MB, free: 2.711 MB / 14.12 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002973/0.1194, allocations: 0.7437 MB / 29.78 MB, free: 2.078 MB / 14.12 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003849/0.1233, allocations: 1.019 MB / 30.8 MB, free: 1.223 MB / 14.12 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.1234, allocations: 4 kB / 30.8 MB, free: 1.219 MB / 14.12 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.1235, allocations: 3.953 kB / 30.81 MB, free: 1.215 MB / 14.12 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/0.1238, allocations: 61.78 kB / 30.87 MB, free: 1.16 MB / 14.12 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.1442, allocations: 1.863 MB / 32.73 MB, free: 2.191 MB / 14.12 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.1456, allocations: 0.5523 MB / 33.28 MB, free: 1.977 MB / 14.12 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009025/0.1465, allocations: 321.4 kB / 33.6 MB, free: 1.969 MB / 14.12 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.1479, allocations: 1.028 MB / 34.62 MB, free: 0.8438 MB / 14.12 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.1479, allocations: 42.88 kB / 34.66 MB, free: 0.8047 MB / 14.12 MB Notification: Performance of pre-optimization done (n=42): time 7.034e-06/0.148, allocations: 6.328 kB / 34.67 MB, free: 0.8047 MB / 14.12 MB Notification: Performance of matching and sorting (n=42): time 0.002676/0.1507, allocations: 0.588 MB / 35.26 MB, free: 0.7617 MB / 14.12 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.1508, allocations: 209.3 kB / 35.46 MB, free: 0.543 MB / 14.12 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.1513, allocations: 237.1 kB / 35.69 MB, free: 452 kB / 14.12 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.1514, allocations: 31.73 kB / 35.73 MB, free: 420 kB / 14.12 MB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.1518, allocations: 350.8 kB / 36.07 MB, free: 220 kB / 14.12 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.152, allocations: 133.2 kB / 36.2 MB, free: 140 kB / 14.12 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.1521, allocations: 5.5 kB / 36.2 MB, free: 140 kB / 14.12 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.1524, allocations: 339 kB / 36.53 MB, free: 4.562 MB / 18.86 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008366/0.1532, allocations: 261.8 kB / 36.79 MB, free: 4.527 MB / 18.86 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.1543, allocations: 419.2 kB / 37.2 MB, free: 4.242 MB / 18.86 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.1558, allocations: 280.2 kB / 37.47 MB, free: 4.164 MB / 18.86 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/0.1558, allocations: 5.031 kB / 37.48 MB, free: 4.164 MB / 18.86 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003434/0.1593, allocations: 0.7608 MB / 38.24 MB, free: 3.824 MB / 18.86 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.1595, allocations: 82.7 kB / 38.32 MB, free: 3.738 MB / 18.86 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.1596, allocations: 4.844 kB / 38.32 MB, free: 3.734 MB / 18.86 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004796/0.1644, allocations: 411.2 kB / 38.73 MB, free: 3.438 MB / 18.86 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.1651, allocations: 72.22 kB / 38.8 MB, free: 3.383 MB / 18.86 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.1672, allocations: 0.8371 MB / 39.63 MB, free: 2.59 MB / 18.86 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000861/0.1681, allocations: 62.52 kB / 39.7 MB, free: 2.539 MB / 18.86 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.1683, allocations: 39.61 kB / 39.73 MB, free: 2.504 MB / 18.86 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [1] P1.prelimSpeedOut[1]:VARIABLE(protected = true ) "preliminary speed of output transitions" type: Real [1] P2.prelimSpeedOut[1]:VARIABLE(protected = true ) "preliminary speed of output transitions" type: Real [1] 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.0005578/0.1689, allocations: 230.5 kB / 39.96 MB, free: 2.273 MB / 18.86 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.1691, allocations: 37.97 kB / 40 MB, free: 2.238 MB / 18.86 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003294/0.1724, allocations: 0.717 MB / 40.71 MB, free: 1.645 MB / 18.86 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/0.1725, allocations: 10.48 kB / 40.72 MB, free: 1.641 MB / 18.86 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1725, allocations: 0 / 40.72 MB, free: 1.641 MB / 18.86 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.1726, allocations: 0 / 40.72 MB, free: 1.641 MB / 18.86 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/0.1768, allocations: 1.22 MB / 41.94 MB, free: 0.5938 MB / 18.86 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.1769, allocations: 0 / 41.94 MB, free: 0.5938 MB / 18.86 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.1774, allocations: 39.31 kB / 41.98 MB, free: 0.5586 MB / 18.86 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/0.1796, allocations: 316.6 kB / 42.29 MB, free: 328 kB / 18.86 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/0.1798, allocations: 19.05 kB / 42.31 MB, free: 312 kB / 18.86 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/0.1967, allocations: 0.8506 MB / 43.16 MB, free: 6.105 MB / 18.86 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.1967, allocations: 0 / 43.16 MB, free: 6.105 MB / 18.86 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/0.2004, allocations: 1.075 MB / 44.24 MB, free: 5.965 MB / 18.86 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2006, allocations: 108.3 kB / 44.34 MB, free: 5.871 MB / 18.86 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.2007, allocations: 15.47 kB / 44.36 MB, free: 5.871 MB / 18.86 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/0.2013, allocations: 39.2 kB / 44.39 MB, free: 5.871 MB / 18.86 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004484/0.2018, allocations: 114.3 kB / 44.51 MB, free: 5.871 MB / 18.86 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.2019, allocations: 33.95 kB / 44.54 MB, free: 5.871 MB / 18.86 MB Notification: Performance of sorting global known variables: time 0.000211/0.2022, allocations: 146.9 kB / 44.68 MB, free: 5.793 MB / 18.86 MB Notification: Performance of sort global known variables: time 1.362e-05/0.2022, allocations: 2.812 kB / 44.69 MB, free: 5.793 MB / 18.86 MB Notification: Performance of remove unused functions: time 0.00134/0.2035, allocations: 221.2 kB / 44.9 MB, free: 5.793 MB / 18.86 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.0006373/0.2042, allocations: 219.6 kB / 45.12 MB, free: 5.699 MB / 18.86 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.2067, allocations: 0.8728 MB / 45.99 MB, free: 5.574 MB / 18.86 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2068, allocations: 2.75 kB / 45.99 MB, free: 5.574 MB / 18.86 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.208, allocations: 0.5188 MB / 46.51 MB, free: 5.324 MB / 18.86 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.2086, allocations: 37.48 kB / 46.55 MB, free: 5.316 MB / 18.86 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.2122, allocations: 1.073 MB / 47.62 MB, free: 4.59 MB / 18.86 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008546/0.2131, allocations: 1.032 MB / 48.65 MB, free: 3.668 MB / 18.86 MB Notification: Performance of simCode: alias equations: time 0.0006131/0.2138, allocations: 89.09 kB / 48.74 MB, free: 3.617 MB / 18.86 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.2139, allocations: 27.44 kB / 48.77 MB, free: 3.59 MB / 18.86 MB Notification: Performance of SimCode: time 1.693e-06/0.2139, allocations: 0 / 48.77 MB, free: 3.59 MB / 18.86 MB Notification: Performance of Templates: time 0.03555/0.2495, allocations: 7.483 MB / 56.25 MB, free: 3.98 MB / 18.86 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)