Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005373/0.005373, allocations: 1.367 MB / 17.31 MB, free: 4.523 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.11e-05, allocations: 0 / 24.32 MB, free: 3.141 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008109/0.0008593, allocations: 355.7 kB / 24.67 MB, free: 2.828 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005932/0.006811, allocations: 4.135 MB / 28.81 MB, free: 3.332 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001482/0.00699, allocations: 55.86 kB / 28.86 MB, free: 3.281 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.04308/0.05009, allocations: 10.99 MB / 39.85 MB, free: 1.617 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.324e-06/0.05013, allocations: 0 / 39.85 MB, free: 1.617 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.974e-05/0.05017, allocations: 16 kB / 39.86 MB, free: 1.602 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001245/0.05142, allocations: 0.885 MB / 40.75 MB, free: 0.6523 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.05147, allocations: 8.312 kB / 40.76 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.05166, allocations: 80.09 kB / 40.83 MB, free: 0.5664 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007174/0.05238, allocations: 457.9 kB / 41.28 MB, free: 80 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.05245, allocations: 70.36 kB / 41.35 MB, free: 8 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009877/0.06234, allocations: 87.88 kB / 41.44 MB, free: 1.676 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.06479, allocations: 1.179 MB / 42.62 MB, free: 1.57 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.06484, allocations: 2.625 kB / 42.62 MB, free: 1.57 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.06494, allocations: 35.83 kB / 42.65 MB, free: 1.57 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.06506, allocations: 57 kB / 42.71 MB, free: 1.566 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.06665, allocations: 0.824 MB / 43.53 MB, free: 1.562 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/0.06982, allocations: 2.022 MB / 45.55 MB, free: 0.9961 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009619/0.0708, allocations: 0.6139 MB / 46.17 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.07135, allocations: 320.4 kB / 46.48 MB, free: 0.5312 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005567/0.07192, allocations: 0.6089 MB / 47.09 MB, free: 6.078 MB / 24.79 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.07198, allocations: 37 kB / 47.13 MB, free: 6.035 MB / 24.79 MB Notification: Performance of pre-optimization done (n=40): time 3.636e-06/0.07199, allocations: 0 / 47.13 MB, free: 6.035 MB / 24.79 MB Notification: Performance of matching and sorting (n=40): time 0.002091/0.07409, allocations: 0.9498 MB / 48.08 MB, free: 5.547 MB / 24.79 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.07428, allocations: 214.4 kB / 48.29 MB, free: 5.301 MB / 24.79 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.07476, allocations: 328 kB / 48.61 MB, free: 5.02 MB / 24.79 MB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/0.07484, allocations: 38.33 kB / 48.64 MB, free: 4.977 MB / 24.79 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/0.07519, allocations: 340.2 kB / 48.98 MB, free: 4.703 MB / 24.79 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.07536, allocations: 138.9 kB / 49.11 MB, free: 4.582 MB / 24.79 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.07541, allocations: 14.34 kB / 49.13 MB, free: 4.57 MB / 24.79 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.07561, allocations: 349.6 kB / 49.47 MB, free: 4.234 MB / 24.79 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.07627, allocations: 286 kB / 49.75 MB, free: 4.008 MB / 24.79 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007934/0.07708, allocations: 460.6 kB / 50.2 MB, free: 3.531 MB / 24.79 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.07843, allocations: 0.7775 MB / 50.97 MB, free: 2.734 MB / 24.79 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.07845, allocations: 0 / 50.97 MB, free: 2.734 MB / 24.79 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00204/0.08049, allocations: 0.9613 MB / 51.93 MB, free: 1.867 MB / 24.79 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.08062, allocations: 85.48 kB / 52.02 MB, free: 1.777 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.08065, allocations: 5.125 kB / 52.02 MB, free: 1.773 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.08069, allocations: 11.94 kB / 52.03 MB, free: 1.762 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.08107, allocations: 94.39 kB / 52.13 MB, free: 1.684 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.08111, allocations: 10.81 kB / 52.14 MB, free: 1.676 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.08152, allocations: 87.45 kB / 52.22 MB, free: 1.602 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.08164, allocations: 43.47 kB / 52.27 MB, free: 1.562 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: 30 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P3.emptying,P2.emptying,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.emptied[1],T2.activation.emptied[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.fed[1],T2.activation.fed[1],T2.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): 63 * Array equations: 3 * Algorithm blocks: 2 * 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.0007288/0.08238, allocations: 386.7 kB / 52.64 MB, free: 1.207 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.0825, allocations: 43.56 kB / 52.69 MB, free: 1.164 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.0844, allocations: 0.8562 MB / 53.54 MB, free: 428 kB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/0.08444, allocations: 4 kB / 53.55 MB, free: 424 kB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.08446, allocations: 0 / 53.55 MB, free: 424 kB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.08447, allocations: 2.953 kB / 53.55 MB, free: 424 kB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.1004, allocations: 1.474 MB / 55.02 MB, free: 6.453 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1004, allocations: 0 / 55.02 MB, free: 6.453 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.1007, allocations: 69.39 kB / 55.09 MB, free: 6.453 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.1007, allocations: 5.641 kB / 55.1 MB, free: 6.453 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.1007, allocations: 16.27 kB / 55.11 MB, free: 6.453 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.1007, allocations: 2.844 kB / 55.11 MB, free: 6.453 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1007, allocations: 1.062 kB / 55.12 MB, free: 6.453 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.1023, allocations: 1.216 MB / 56.33 MB, free: 6.25 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.1024, allocations: 120.9 kB / 56.45 MB, free: 6.156 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.1025, allocations: 23.19 kB / 56.47 MB, free: 6.156 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.1027, allocations: 45.17 kB / 56.52 MB, free: 6.156 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.103, allocations: 114.4 kB / 56.63 MB, free: 6.156 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.103, allocations: 25.91 kB / 56.65 MB, free: 6.156 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1032, allocations: 204.8 kB / 56.85 MB, free: 6.078 MB / 24.79 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1032, allocations: 0 / 56.85 MB, free: 6.078 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0006677/0.1039, allocations: 235.7 kB / 57.08 MB, free: 6.078 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: 13 (P1.fireOut[1],P1.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[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.fireIn[1],P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 3 * Algorithm blocks: 2 * 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.0003926/0.1043, allocations: 218.3 kB / 57.3 MB, free: 5.988 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.1054, allocations: 0.8959 MB / 58.19 MB, free: 5.859 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1054, allocations: 3.969 kB / 58.2 MB, free: 5.859 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.1059, allocations: 0.4981 MB / 58.7 MB, free: 5.73 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.1064, allocations: 54.22 kB / 58.75 MB, free: 5.73 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.1082, allocations: 1.511 MB / 60.26 MB, free: 4.918 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1087, allocations: 1.004 MB / 61.26 MB, free: 4.008 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.000331/0.109, allocations: 151 kB / 61.41 MB, free: 3.926 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1091, allocations: 58.06 kB / 61.47 MB, free: 3.883 MB / 24.79 MB Notification: Performance of SimCode: time 3.5e-07/0.1091, allocations: 0 / 61.47 MB, free: 3.883 MB / 24.79 MB Notification: Performance of Templates: time 0.02115/0.1303, allocations: 6.19 MB / 67.66 MB, free: 5.578 MB / 24.79 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test8.makefile (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & ./ConPNlib_ConPNlib.Examples.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)