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.01702/0.01702, allocations: 1.358 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.64e-05, allocations: 0 / 23.22 MB, free: 4.027 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007119/0.0007528, allocations: 352.5 kB / 23.57 MB, free: 3.879 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005266/0.006037, allocations: 4.12 MB / 27.68 MB, free: 4.559 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/0.006235, allocations: 47.98 kB / 27.73 MB, free: 4.512 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.06638/0.07264, allocations: 12.85 MB / 40.58 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.545e-06/0.07269, allocations: 0 / 40.58 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.776e-05/0.07276, allocations: 28.42 kB / 40.61 MB, free: 0.9141 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.02191/0.09469, allocations: 0.9999 MB / 41.61 MB, free: 0.9062 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.09477, allocations: 11.3 kB / 41.62 MB, free: 0.9062 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/0.09538, allocations: 97.73 kB / 41.71 MB, free: 0.8594 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.09689, allocations: 0.5069 MB / 42.22 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.09704, allocations: 87.97 kB / 42.31 MB, free: 0.6406 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003189/0.09737, allocations: 119.4 kB / 42.42 MB, free: 0.6367 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/0.1019, allocations: 1.434 MB / 43.86 MB, free: 0.4961 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/0.1019, allocations: 0 / 43.86 MB, free: 0.4961 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/0.1022, allocations: 50.8 kB / 43.91 MB, free: 0.4961 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.1024, allocations: 74.45 kB / 43.98 MB, free: 0.4922 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/0.106, allocations: 1.01 MB / 44.99 MB, free: 492 kB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007074/0.1131, allocations: 2.522 MB / 47.51 MB, free: 5.695 MB / 24.81 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.1153, allocations: 0.7351 MB / 48.25 MB, free: 5.301 MB / 24.81 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/0.1166, allocations: 0.8672 MB / 49.12 MB, free: 4.309 MB / 24.81 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.1167, allocations: 38.94 kB / 49.15 MB, free: 4.262 MB / 24.81 MB Notification: Performance of pre-optimization done (n=52): time 4.909e-06/0.1167, allocations: 3.5 kB / 49.16 MB, free: 4.262 MB / 24.81 MB Notification: Performance of matching and sorting (n=52): time 0.007954/0.1246, allocations: 1.759 MB / 50.92 MB, free: 2.664 MB / 24.81 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002433/0.1249, allocations: 248.1 kB / 51.16 MB, free: 2.379 MB / 24.81 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000738/0.1257, allocations: 332.1 kB / 51.48 MB, free: 2.094 MB / 24.81 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.1258, allocations: 41.7 kB / 51.52 MB, free: 2.047 MB / 24.81 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005267/0.1264, allocations: 394.1 kB / 51.91 MB, free: 1.703 MB / 24.81 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.1267, allocations: 166.4 kB / 52.07 MB, free: 1.562 MB / 24.81 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.1268, allocations: 22.97 kB / 52.09 MB, free: 1.543 MB / 24.81 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.127, allocations: 352.7 kB / 52.44 MB, free: 1.199 MB / 24.81 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.1281, allocations: 360.3 kB / 52.79 MB, free: 0.9102 MB / 24.81 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.1293, allocations: 0.5346 MB / 53.32 MB, free: 380 kB / 24.81 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01703/0.1463, allocations: 466.3 kB / 53.78 MB, free: 5.871 MB / 24.81 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.1464, allocations: 0.9688 kB / 53.78 MB, free: 5.871 MB / 24.81 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002967/0.1494, allocations: 1.149 MB / 54.93 MB, free: 5.723 MB / 24.81 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.1495, allocations: 117.7 kB / 55.04 MB, free: 5.629 MB / 24.81 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.1496, allocations: 4.375 kB / 55.05 MB, free: 5.629 MB / 24.81 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003058/0.1526, allocations: 431.4 kB / 55.47 MB, free: 5.621 MB / 24.81 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.1531, allocations: 81.95 kB / 55.55 MB, free: 5.621 MB / 24.81 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.1542, allocations: 0.8694 MB / 56.42 MB, free: 5.105 MB / 24.81 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.1549, allocations: 92.09 kB / 56.51 MB, free: 5.105 MB / 24.81 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.155, allocations: 45.94 kB / 56.55 MB, free: 5.105 MB / 24.81 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 () * Number of clocked 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.0008004/0.1558, allocations: 475.1 kB / 57.02 MB, free: 4.895 MB / 24.81 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.1559, allocations: 47.59 kB / 57.06 MB, free: 4.895 MB / 24.81 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.1587, allocations: 1.135 MB / 58.2 MB, free: 4.742 MB / 24.81 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.352e-05/0.1588, allocations: 7.094 kB / 58.21 MB, free: 4.742 MB / 24.81 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.1588, allocations: 3.609 kB / 58.21 MB, free: 4.742 MB / 24.81 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.1589, allocations: 4.719 kB / 58.21 MB, free: 4.742 MB / 24.81 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003949/0.1628, allocations: 1.834 MB / 60.05 MB, free: 4.293 MB / 24.81 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.1629, allocations: 4.641 kB / 60.05 MB, free: 4.293 MB / 24.81 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.1632, allocations: 46.05 kB / 60.1 MB, free: 4.289 MB / 24.81 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/0.1651, allocations: 414.8 kB / 60.5 MB, free: 4.176 MB / 24.81 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.1653, allocations: 23.89 kB / 60.53 MB, free: 4.156 MB / 24.81 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.1664, allocations: 0.8972 MB / 61.42 MB, free: 3.316 MB / 24.81 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1664, allocations: 0.8438 kB / 61.42 MB, free: 3.316 MB / 24.81 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/0.1698, allocations: 1.567 MB / 62.99 MB, free: 1.949 MB / 24.81 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.17, allocations: 123.1 kB / 63.11 MB, free: 1.84 MB / 24.81 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.1701, allocations: 23.05 kB / 63.13 MB, free: 1.82 MB / 24.81 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.1706, allocations: 62.09 kB / 63.19 MB, free: 1.773 MB / 24.81 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/0.1711, allocations: 149.1 kB / 63.34 MB, free: 1.676 MB / 24.81 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.1712, allocations: 40.67 kB / 63.38 MB, free: 1.645 MB / 24.81 MB Notification: Performance of sorting global known variables: time 0.0002865/0.1715, allocations: 215.8 kB / 63.59 MB, free: 1.461 MB / 24.81 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1715, allocations: 0 / 63.59 MB, free: 1.461 MB / 24.81 MB Notification: Performance of remove unused functions: time 0.001024/0.1726, allocations: 265.2 kB / 63.85 MB, free: 1.262 MB / 24.81 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) * Number of clocked states: 0 () * 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.0004955/0.1731, allocations: 233 kB / 64.08 MB, free: 1.066 MB / 24.81 MB Notification: Performance of simCode: created initialization part: time 0.01769/0.1908, allocations: 1.21 MB / 65.29 MB, free: 5.648 MB / 24.81 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1908, allocations: 3.344 kB / 65.29 MB, free: 5.648 MB / 24.81 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.1921, allocations: 0.6914 MB / 65.98 MB, free: 5.457 MB / 24.81 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.1926, allocations: 54.94 kB / 66.04 MB, free: 5.453 MB / 24.81 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.1962, allocations: 1.918 MB / 67.95 MB, free: 4.684 MB / 24.81 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.1968, allocations: 1.109 MB / 69.06 MB, free: 3.98 MB / 24.81 MB Notification: Performance of simCode: alias equations: time 0.0004513/0.1973, allocations: 118.1 kB / 69.18 MB, free: 3.977 MB / 24.81 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.1974, allocations: 37.89 kB / 69.21 MB, free: 3.973 MB / 24.81 MB Notification: Performance of SimCode: time 8.51e-07/0.1974, allocations: 3.5 kB / 69.22 MB, free: 3.973 MB / 24.81 MB Notification: Performance of Templates: time 0.03868/0.2361, allocations: 9.151 MB / 78.37 MB, free: 4.211 MB / 24.81 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)