Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") translateModel(ConPNlib.Examples.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01294/0.01294, allocations: 1.338 MB / 13.9 MB, free: 1.406 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.525e-05/1.537e-05, allocations: 0 / 19.23 MB, free: 2.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008539/0.0009038, allocations: 363.4 kB / 19.59 MB, free: 1.781 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03974/0.04067, allocations: 4.026 MB / 23.61 MB, free: 2.805 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001396/0.04087, allocations: 48.55 kB / 23.66 MB, free: 2.785 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.07385/0.1147, allocations: 12.75 MB / 36.4 MB, free: 2.648 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1148, allocations: 4 kB / 36.41 MB, free: 2.645 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.278e-05/0.1148, allocations: 18.28 kB / 36.43 MB, free: 2.641 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.00187/0.1167, allocations: 0.9836 MB / 37.41 MB, free: 1.973 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1168, allocations: 10.53 kB / 37.42 MB, free: 1.973 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.1172, allocations: 103 kB / 37.52 MB, free: 1.926 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.1184, allocations: 0.5112 MB / 38.03 MB, free: 1.656 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.1185, allocations: 82.44 kB / 38.11 MB, free: 1.609 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.1188, allocations: 110.9 kB / 38.22 MB, free: 1.535 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/0.1218, allocations: 1.398 MB / 39.62 MB, free: 420 kB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.1219, allocations: 0 / 39.62 MB, free: 420 kB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.122, allocations: 50.98 kB / 39.67 MB, free: 376 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.1222, allocations: 74.14 kB / 39.74 MB, free: 312 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/0.1388, allocations: 0.9644 MB / 40.7 MB, free: 2.035 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005173/0.1441, allocations: 2.51 MB / 43.21 MB, free: 1.352 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.1453, allocations: 0.6751 MB / 43.89 MB, free: 1.137 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007724/0.1461, allocations: 422.7 kB / 44.3 MB, free: 1.066 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009658/0.1471, allocations: 0.8676 MB / 45.17 MB, free: 6.328 MB / 24.79 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1471, allocations: 42.03 kB / 45.21 MB, free: 6.285 MB / 24.79 MB Notification: Performance of pre-optimization done (n=52): time 3.958e-06/0.1471, allocations: 0 / 45.21 MB, free: 6.285 MB / 24.79 MB Notification: Performance of matching and sorting (n=52): time 0.002249/0.1494, allocations: 0.8645 MB / 46.08 MB, free: 5.922 MB / 24.79 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.1496, allocations: 245.1 kB / 46.32 MB, free: 5.656 MB / 24.79 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.1501, allocations: 329.4 kB / 46.64 MB, free: 5.477 MB / 24.79 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-05/0.1502, allocations: 42.02 kB / 46.68 MB, free: 5.438 MB / 24.79 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.1506, allocations: 399 kB / 47.07 MB, free: 5.148 MB / 24.79 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.1509, allocations: 165.2 kB / 47.23 MB, free: 5.035 MB / 24.79 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.151, allocations: 19.02 kB / 47.25 MB, free: 5.023 MB / 24.79 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1511, allocations: 353.7 kB / 47.59 MB, free: 4.691 MB / 24.79 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/0.152, allocations: 332 kB / 47.92 MB, free: 4.535 MB / 24.79 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.153, allocations: 0.5094 MB / 48.43 MB, free: 4 MB / 24.79 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009247/0.154, allocations: 439.2 kB / 48.86 MB, free: 3.617 MB / 24.79 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.154, allocations: 4 kB / 48.86 MB, free: 3.613 MB / 24.79 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002858/0.1568, allocations: 1.099 MB / 49.96 MB, free: 2.625 MB / 24.79 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.157, allocations: 119 kB / 50.07 MB, free: 2.5 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.1571, allocations: 6.953 kB / 50.08 MB, free: 2.496 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.1604, allocations: 446.8 kB / 50.52 MB, free: 2.168 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.161, allocations: 85.66 kB / 50.6 MB, free: 2.094 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.1624, allocations: 0.8637 MB / 51.47 MB, free: 1.277 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.1632, allocations: 99.64 kB / 51.56 MB, free: 1.191 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.1633, allocations: 48.88 kB / 51.61 MB, free: 1.148 MB / 24.79 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P2.emptying,P3.emptying,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T2.outPlaces[1].enabledByInPlaces,T3.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 3 * 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 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004417/0.1638, allocations: 293.1 kB / 51.9 MB, free: 0.8555 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.164, allocations: 43.53 kB / 51.94 MB, free: 0.8125 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0184/0.1824, allocations: 1.098 MB / 53.04 MB, free: 7.188 MB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/0.1825, allocations: 10.3 kB / 53.05 MB, free: 7.188 MB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1825, allocations: 4.719 kB / 53.05 MB, free: 7.188 MB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.1825, allocations: 2.25 kB / 53.05 MB, free: 7.188 MB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.1865, allocations: 1.785 MB / 54.84 MB, free: 6.793 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.1866, allocations: 2.031 kB / 54.84 MB, free: 6.793 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.187, allocations: 52.02 kB / 54.89 MB, free: 6.793 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/0.1891, allocations: 424.5 kB / 55.31 MB, free: 6.785 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.1893, allocations: 24.44 kB / 55.33 MB, free: 6.785 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.1904, allocations: 0.8988 MB / 56.23 MB, free: 6.266 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1905, allocations: 3.031 kB / 56.23 MB, free: 6.266 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003376/0.1939, allocations: 1.488 MB / 57.72 MB, free: 6.02 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.194, allocations: 121.3 kB / 57.84 MB, free: 5.926 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.1942, allocations: 29.66 kB / 57.87 MB, free: 5.926 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/0.1948, allocations: 57.05 kB / 57.92 MB, free: 5.926 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004225/0.1952, allocations: 151.1 kB / 58.07 MB, free: 5.906 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.1953, allocations: 38.72 kB / 58.11 MB, free: 5.898 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0003065/0.1956, allocations: 218.2 kB / 58.32 MB, free: 5.781 MB / 24.79 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1957, allocations: 0 / 58.32 MB, free: 5.781 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.001109/0.1968, allocations: 265.5 kB / 58.58 MB, free: 5.762 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: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P3.fireIn[1],P2.fireIn[1],P1.fireOut[1],P1.fireOut[2],P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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 {1 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005839/0.1974, allocations: 234.3 kB / 58.81 MB, free: 5.656 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.1997, allocations: 1.127 MB / 59.94 MB, free: 4.625 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.1998, allocations: 0 / 59.94 MB, free: 4.625 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.2009, allocations: 0.6657 MB / 60.6 MB, free: 3.988 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.2015, allocations: 51.69 kB / 60.65 MB, free: 3.941 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.2048, allocations: 1.359 MB / 62.01 MB, free: 2.746 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/0.2055, allocations: 1.11 MB / 63.12 MB, free: 1.773 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0004923/0.206, allocations: 114.8 kB / 63.23 MB, free: 1.711 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2061, allocations: 42.14 kB / 63.27 MB, free: 1.676 MB / 24.79 MB Notification: Performance of SimCode: time 1.002e-06/0.2062, allocations: 2.906 kB / 63.28 MB, free: 1.676 MB / 24.79 MB Notification: Performance of Templates: time 0.04285/0.249, allocations: 9.132 MB / 72.41 MB, free: 2.203 MB / 24.79 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test12.makefile (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & ./ConPNlib_ConPNlib.Examples.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)