Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") translateModel(ConPNlib.Examples.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.006081/0.006081, allocations: 1.362 MB / 17.31 MB, free: 4.508 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.226e-05/1.237e-05, allocations: 0 / 24.32 MB, free: 3.129 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004694/0.000497, allocations: 354.8 kB / 24.67 MB, free: 2.812 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.003429/0.003936, allocations: 4.129 MB / 28.8 MB, free: 3.324 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 5.77e-05/0.004005, allocations: 51.86 kB / 28.85 MB, free: 3.277 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.02268/0.02669, allocations: 6.951 MB / 35.8 MB, free: 5.363 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.804e-06/0.02673, allocations: 1.859 kB / 35.8 MB, free: 5.363 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.02676, allocations: 6.906 kB / 35.81 MB, free: 5.363 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.0008089/0.02757, allocations: 0.6268 MB / 36.44 MB, free: 4.844 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.02763, allocations: 13.31 kB / 36.45 MB, free: 4.844 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.02776, allocations: 48.06 kB / 36.5 MB, free: 4.82 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.02821, allocations: 322.9 kB / 36.81 MB, free: 4.547 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.02826, allocations: 37.12 kB / 36.85 MB, free: 4.516 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.02834, allocations: 46.75 kB / 36.89 MB, free: 4.473 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009693/0.02932, allocations: 0.6156 MB / 37.51 MB, free: 3.84 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.02935, allocations: 4.125 kB / 37.51 MB, free: 3.836 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.02939, allocations: 27.92 kB / 37.54 MB, free: 3.809 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.02945, allocations: 32.97 kB / 37.57 MB, free: 3.773 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.0301, allocations: 431.7 kB / 37.99 MB, free: 3.355 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.03167, allocations: 1.145 MB / 39.14 MB, free: 2.148 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.03214, allocations: 238.6 kB / 39.37 MB, free: 1.906 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.03238, allocations: 181.2 kB / 39.55 MB, free: 1.727 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004162/0.03281, allocations: 0.5934 MB / 40.14 MB, free: 1.004 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.03284, allocations: 38.56 kB / 40.18 MB, free: 0.957 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 2.525e-06/0.03285, allocations: 0 / 40.18 MB, free: 0.957 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.0008324/0.03369, allocations: 0.545 MB / 40.72 MB, free: 412 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.03375, allocations: 140.5 kB / 40.86 MB, free: 240 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.03391, allocations: 225.4 kB / 41.08 MB, free: 4 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 0.00896/0.04288, allocations: 30.42 kB / 41.11 MB, free: 4.398 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.04309, allocations: 211.6 kB / 41.32 MB, free: 4.301 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.04319, allocations: 78.2 kB / 41.39 MB, free: 4.266 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.04322, allocations: 5.281 kB / 41.4 MB, free: 4.266 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.04333, allocations: 329.5 kB / 41.72 MB, free: 3.953 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.04371, allocations: 153.6 kB / 41.87 MB, free: 3.945 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.04406, allocations: 260.9 kB / 42.13 MB, free: 3.836 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.04463, allocations: 422.6 kB / 42.54 MB, free: 3.668 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.04465, allocations: 0 / 42.54 MB, free: 3.668 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008018/0.04546, allocations: 0.5343 MB / 43.07 MB, free: 3.59 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.04552, allocations: 45.69 kB / 43.12 MB, free: 3.559 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.04554, allocations: 3.125 kB / 43.12 MB, free: 3.559 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.04557, allocations: 3.375 kB / 43.12 MB, free: 3.559 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.04576, allocations: 49.5 kB / 43.17 MB, free: 3.555 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.04578, allocations: 13.89 kB / 43.19 MB, free: 3.551 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.04596, allocations: 45.52 kB / 43.23 MB, free: 3.543 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.04601, allocations: 24.25 kB / 43.25 MB, free: 3.543 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0002497/0.04627, allocations: 249.2 kB / 43.5 MB, free: 3.395 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.04633, allocations: 32.94 kB / 43.53 MB, free: 3.383 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006972/0.04703, allocations: 482.6 kB / 44 MB, free: 3.309 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.04706, allocations: 9.641 kB / 44.01 MB, free: 3.305 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.04707, allocations: 0 / 44.01 MB, free: 3.305 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.04708, allocations: 0 / 44.01 MB, free: 3.305 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.0481, allocations: 0.9062 MB / 44.92 MB, free: 2.852 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.04812, allocations: 0 / 44.92 MB, free: 2.852 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.04827, allocations: 35.36 kB / 44.95 MB, free: 2.848 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.04828, allocations: 6.797 kB / 44.96 MB, free: 2.848 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.04832, allocations: 19.94 kB / 44.98 MB, free: 2.84 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.04832, allocations: 0 / 44.98 MB, free: 2.84 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.04833, allocations: 0 / 44.98 MB, free: 2.84 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008882/0.04922, allocations: 0.7226 MB / 45.7 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.04927, allocations: 92.89 kB / 45.79 MB, free: 2.301 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.04932, allocations: 18.06 kB / 45.81 MB, free: 2.285 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.04946, allocations: 23.69 kB / 45.83 MB, free: 2.27 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.0496, allocations: 63.92 kB / 45.89 MB, free: 2.227 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.04964, allocations: 17.73 kB / 45.91 MB, free: 2.215 MB / 18.57 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.04972, allocations: 146.1 kB / 46.05 MB, free: 2.082 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04973, allocations: 0 / 46.05 MB, free: 2.082 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004722/0.05021, allocations: 161.1 kB / 46.21 MB, free: 1.945 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 (23): * Single equations (assignments): 20 * 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.0002893/0.0505, allocations: 199.2 kB / 46.41 MB, free: 1.773 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.05112, allocations: 491.6 kB / 46.89 MB, free: 1.34 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.05114, allocations: 0 / 46.89 MB, free: 1.34 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.05142, allocations: 271.1 kB / 47.15 MB, free: 1.094 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.05176, allocations: 37.47 kB / 47.19 MB, free: 1.062 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.05293, allocations: 0.8223 MB / 48.01 MB, free: 308 kB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.0533, allocations: 0.8501 MB / 48.86 MB, free: 5.793 MB / 24.88 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.05352, allocations: 83.89 kB / 48.94 MB, free: 5.734 MB / 24.88 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/0.05361, allocations: 34.48 kB / 48.98 MB, free: 5.703 MB / 24.88 MB Notification: Performance of SimCode: time 2.41e-07/0.05362, allocations: 6.812 kB / 48.98 MB, free: 5.699 MB / 24.88 MB Notification: Performance of Templates: time 0.008741/0.06236, allocations: 4.003 MB / 52.99 MB, free: 1.977 MB / 24.88 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test5.makefile (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & ./ConPNlib_ConPNlib.Examples.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)