Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009311/0.009311, allocations: 1.364 MB / 17.31 MB, free: 4.523 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.529e-05/1.534e-05, allocations: 0 / 24.32 MB, free: 3.098 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007384/0.0007769, allocations: 356.1 kB / 24.67 MB, free: 2.785 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005883/0.006679, allocations: 4.123 MB / 28.79 MB, free: 3.305 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001438/0.006849, allocations: 51.86 kB / 28.84 MB, free: 3.258 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.03512/0.04199, allocations: 5.398 MB / 34.24 MB, free: 5.414 MB / 18.57 MB Notification: Performance of FrontEnd: time 4.008e-06/0.04205, allocations: 0 / 34.24 MB, free: 5.414 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.04208, allocations: 5.688 kB / 34.25 MB, free: 5.41 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009055/0.043, allocations: 0.5245 MB / 34.77 MB, free: 4.957 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.04306, allocations: 12.47 kB / 34.78 MB, free: 4.957 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.04318, allocations: 24.53 kB / 34.81 MB, free: 4.945 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.0436, allocations: 249.4 kB / 35.05 MB, free: 4.742 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.04366, allocations: 26 kB / 35.08 MB, free: 4.738 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-05/0.04374, allocations: 26.7 kB / 35.1 MB, free: 4.738 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.04457, allocations: 357 kB / 35.45 MB, free: 4.684 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.04461, allocations: 3.938 kB / 35.45 MB, free: 4.684 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.04467, allocations: 18.91 kB / 35.47 MB, free: 4.676 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/0.04473, allocations: 17.48 kB / 35.49 MB, free: 4.672 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.04537, allocations: 232.6 kB / 35.72 MB, free: 4.672 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.04646, allocations: 0.689 MB / 36.41 MB, free: 4.312 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.04674, allocations: 156.1 kB / 36.56 MB, free: 4.25 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.04687, allocations: 93.38 kB / 36.65 MB, free: 4.215 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.04713, allocations: 443.3 kB / 37.08 MB, free: 3.738 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.04716, allocations: 38.56 kB / 37.12 MB, free: 3.691 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.04717, allocations: 0 / 37.12 MB, free: 3.691 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.0005406/0.04772, allocations: 323.4 kB / 37.44 MB, free: 3.516 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.04777, allocations: 114.5 kB / 37.55 MB, free: 3.383 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.04788, allocations: 161.7 kB / 37.71 MB, free: 3.219 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.04791, allocations: 33.7 kB / 37.74 MB, free: 3.18 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.04797, allocations: 157.4 kB / 37.89 MB, free: 3.031 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.04801, allocations: 49.94 kB / 37.94 MB, free: 2.988 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.04803, allocations: 3.375 kB / 37.94 MB, free: 2.988 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.04808, allocations: 330.7 kB / 38.27 MB, free: 2.66 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.04822, allocations: 86.84 kB / 38.35 MB, free: 2.59 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.04838, allocations: 152.1 kB / 38.5 MB, free: 2.438 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.04865, allocations: 267.3 kB / 38.76 MB, free: 2.164 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.04867, allocations: 0 / 38.76 MB, free: 2.164 MB / 18.57 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004197/0.04909, allocations: 340.7 kB / 39.09 MB, free: 1.84 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.04913, allocations: 41.69 kB / 39.14 MB, free: 1.793 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.04915, allocations: 0 / 39.14 MB, free: 1.793 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.04916, allocations: 4 kB / 39.14 MB, free: 1.789 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.04929, allocations: 31.92 kB / 39.17 MB, free: 1.758 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.04931, allocations: 4 kB / 39.17 MB, free: 1.754 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.923e-05/0.04941, allocations: 23.89 kB / 39.2 MB, free: 1.73 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.04944, allocations: 27.98 kB / 39.23 MB, free: 1.703 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.P1.fireOut[1],P1.emptying,P1.feeding,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * 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.0001342/0.04958, allocations: 200.4 kB / 39.42 MB, free: 1.492 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.04963, allocations: 15.89 kB / 39.44 MB, free: 1.477 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.05016, allocations: 356.2 kB / 39.78 MB, free: 1.117 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.05018, allocations: 0 / 39.78 MB, free: 1.117 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.05019, allocations: 0 / 39.78 MB, free: 1.117 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.0502, allocations: 0 / 39.78 MB, free: 1.117 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.05081, allocations: 0.6352 MB / 40.42 MB, free: 432 kB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.05083, allocations: 4 kB / 40.42 MB, free: 428 kB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.821e-05/0.05093, allocations: 19.98 kB / 40.44 MB, free: 408 kB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.05094, allocations: 0 / 40.44 MB, free: 408 kB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.05096, allocations: 8 kB / 40.45 MB, free: 400 kB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.05097, allocations: 3.938 kB / 40.45 MB, free: 396 kB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.05098, allocations: 4 kB / 40.46 MB, free: 392 kB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007818/0.0588, allocations: 485.5 kB / 40.93 MB, free: 4.082 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.05887, allocations: 90.42 kB / 41.02 MB, free: 3.988 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.05893, allocations: 8.406 kB / 41.03 MB, free: 3.988 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.05906, allocations: 16.66 kB / 41.05 MB, free: 3.988 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.05917, allocations: 37.56 kB / 41.08 MB, free: 3.988 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.0592, allocations: 12.23 kB / 41.09 MB, free: 3.988 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.817e-05/0.05928, allocations: 114.7 kB / 41.21 MB, free: 3.914 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.51e-07/0.05929, allocations: 0 / 41.21 MB, free: 3.914 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004543/0.05975, allocations: 99.08 kB / 41.3 MB, free: 3.914 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (P1.fireOut[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * 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.0002804/0.06004, allocations: 166.8 kB / 41.47 MB, free: 3.828 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0004475/0.0605, allocations: 293.8 kB / 41.75 MB, free: 3.766 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.06051, allocations: 0 / 41.75 MB, free: 3.766 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.06072, allocations: 176.4 kB / 41.92 MB, free: 3.703 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.06102, allocations: 28.88 kB / 41.95 MB, free: 3.703 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.06171, allocations: 486.8 kB / 42.43 MB, free: 3.441 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.0619, allocations: 0.7795 MB / 43.21 MB, free: 2.746 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.000189/0.06209, allocations: 67.86 kB / 43.27 MB, free: 2.746 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.06217, allocations: 30.92 kB / 43.3 MB, free: 2.738 MB / 18.57 MB Notification: Performance of SimCode: time 1.042e-06/0.06217, allocations: 0 / 43.3 MB, free: 2.738 MB / 18.57 MB Notification: Performance of Templates: time 0.005174/0.06735, allocations: 2.556 MB / 45.86 MB, free: 2.172 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test2.makefile (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & ./ConPNlib_ConPNlib.Examples.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)