Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005373/0.005373, allocations: 1.363 MB / 17.31 MB, free: 4.5 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.392e-05/1.394e-05, allocations: 0 / 24.32 MB, free: 3.133 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005791/0.0006121, allocations: 360 kB / 24.67 MB, free: 2.801 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.003457/0.004078, allocations: 4.123 MB / 28.8 MB, free: 3.316 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001111/0.00421, allocations: 55.86 kB / 28.85 MB, free: 3.266 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.02404/0.02826, allocations: 6.942 MB / 35.79 MB, free: 5.02 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.024e-06/0.0283, allocations: 1.859 kB / 35.8 MB, free: 5.02 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.02832, allocations: 8.688 kB / 35.8 MB, free: 5.02 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006703/0.029, allocations: 0.6327 MB / 36.44 MB, free: 4.504 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.02904, allocations: 10.47 kB / 36.45 MB, free: 4.504 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.095e-05/0.02913, allocations: 44.94 kB / 36.49 MB, free: 4.48 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.02949, allocations: 312.9 kB / 36.8 MB, free: 4.258 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.02953, allocations: 34.81 kB / 36.83 MB, free: 4.25 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.0296, allocations: 54 kB / 36.88 MB, free: 4.219 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.03041, allocations: 0.6207 MB / 37.5 MB, free: 3.68 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.03044, allocations: 4.188 kB / 37.51 MB, free: 3.676 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.03049, allocations: 23.92 kB / 37.53 MB, free: 3.652 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.03054, allocations: 32.97 kB / 37.56 MB, free: 3.617 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.0312, allocations: 431.6 kB / 37.98 MB, free: 3.199 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.03253, allocations: 1.145 MB / 39.13 MB, free: 1.992 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.03298, allocations: 344 kB / 39.47 MB, free: 1.629 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.03321, allocations: 176.9 kB / 39.64 MB, free: 1.453 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/0.03356, allocations: 0.6008 MB / 40.24 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.03359, allocations: 38.72 kB / 40.28 MB, free: 0.6797 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.0336, allocations: 0 / 40.28 MB, free: 0.6797 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0007876/0.03439, allocations: 0.5115 MB / 40.79 MB, free: 160 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007218/0.04162, allocations: 148.6 kB / 40.93 MB, free: 4.152 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.04186, allocations: 221.4 kB / 41.15 MB, free: 4.043 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.04194, allocations: 32.23 kB / 41.18 MB, free: 4.012 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.04206, allocations: 217.4 kB / 41.39 MB, free: 3.902 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.04215, allocations: 77.19 kB / 41.47 MB, free: 3.867 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.04217, allocations: 6.094 kB / 41.48 MB, free: 3.867 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.04223, allocations: 328.5 kB / 41.8 MB, free: 3.555 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.04253, allocations: 149 kB / 41.94 MB, free: 3.551 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.04285, allocations: 260.8 kB / 42.2 MB, free: 3.434 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.04332, allocations: 427.1 kB / 42.61 MB, free: 3.27 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.04334, allocations: 7.312 kB / 42.62 MB, free: 3.27 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007295/0.04407, allocations: 0.5275 MB / 43.15 MB, free: 3.191 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.04413, allocations: 43.75 kB / 43.19 MB, free: 3.16 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.04414, allocations: 3.094 kB / 43.19 MB, free: 3.16 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.04416, allocations: 6.562 kB / 43.2 MB, free: 3.16 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.04433, allocations: 52.84 kB / 43.25 MB, free: 3.152 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.04435, allocations: 9.453 kB / 43.26 MB, free: 3.152 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.04452, allocations: 48.55 kB / 43.31 MB, free: 3.141 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.04457, allocations: 29.36 kB / 43.34 MB, free: 3.141 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[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 (38): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.0448, allocations: 252.5 kB / 43.58 MB, free: 2.988 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.04486, allocations: 20.06 kB / 43.6 MB, free: 2.98 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.04555, allocations: 482.8 kB / 44.07 MB, free: 2.895 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.04557, allocations: 4.172 kB / 44.08 MB, free: 2.895 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.04558, allocations: 0 / 44.08 MB, free: 2.895 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.0456, allocations: 4.406 kB / 44.08 MB, free: 2.895 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009591/0.04656, allocations: 0.8894 MB / 44.97 MB, free: 2.523 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.04658, allocations: 2.594 kB / 44.97 MB, free: 2.523 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.04675, allocations: 30.75 kB / 45 MB, free: 2.523 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.04676, allocations: 7.484 kB / 45.01 MB, free: 2.523 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.04679, allocations: 12.86 kB / 45.02 MB, free: 2.52 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.0468, allocations: 0 / 45.02 MB, free: 2.52 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.04681, allocations: 0 / 45.02 MB, free: 2.52 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.04765, allocations: 0.6948 MB / 45.72 MB, free: 2.082 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.0477, allocations: 104.3 kB / 45.82 MB, free: 1.965 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.04775, allocations: 8 kB / 45.83 MB, free: 1.957 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.0479, allocations: 33.92 kB / 45.86 MB, free: 1.93 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.04804, allocations: 57.61 kB / 45.92 MB, free: 1.895 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.04808, allocations: 18.95 kB / 45.94 MB, free: 1.879 MB / 18.57 MB Notification: Performance of sorting global known variables: time 9.361e-05/0.04818, allocations: 146.6 kB / 46.08 MB, free: 1.75 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04819, allocations: 0 / 46.08 MB, free: 1.75 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005025/0.0487, allocations: 162.2 kB / 46.24 MB, free: 1.613 MB / 18.57 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: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003242/0.04903, allocations: 197.7 kB / 46.43 MB, free: 1.441 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0007004/0.04974, allocations: 482 kB / 46.9 MB, free: 1.016 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.04976, allocations: 0.75 kB / 46.9 MB, free: 1.016 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.05005, allocations: 265.2 kB / 47.16 MB, free: 0.7734 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.05042, allocations: 40.98 kB / 47.2 MB, free: 0.7422 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.05167, allocations: 0.8276 MB / 48.03 MB, free: 6.176 MB / 24.77 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.05217, allocations: 0.8474 MB / 48.88 MB, free: 5.363 MB / 24.77 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.05241, allocations: 86.39 kB / 48.96 MB, free: 5.301 MB / 24.77 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.0525, allocations: 34.47 kB / 49 MB, free: 5.27 MB / 24.77 MB Notification: Performance of SimCode: time 3.9e-07/0.0525, allocations: 0 / 49 MB, free: 5.27 MB / 24.77 MB Notification: Performance of Templates: time 0.008382/0.06089, allocations: 3.927 MB / 52.92 MB, free: 1.605 MB / 24.77 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test6.makefile (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & ./ConPNlib_ConPNlib.Examples.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)