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.005486/0.005486, allocations: 1.367 MB / 16.64 MB, free: 5.121 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.205e-05/1.207e-05, allocations: 0 / 23.71 MB, free: 3.715 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005627/0.0005899, allocations: 361.7 kB / 24.06 MB, free: 3.398 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.000791/0.001391, allocations: 1.019 MB / 25.08 MB, free: 2.383 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0008542/0.002255, allocations: 0.6907 MB / 25.77 MB, free: 1.688 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.002366, allocations: 3.938 kB / 25.77 MB, free: 1.684 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.002518, allocations: 63.58 kB / 25.83 MB, free: 1.621 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.003011, allocations: 232.6 kB / 26.06 MB, free: 1.395 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 7.238e-05/0.003094, allocations: 32.73 kB / 26.09 MB, free: 1.363 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.003328, allocations: 339 kB / 26.42 MB, free: 1.031 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.003499, allocations: 152.9 kB / 26.57 MB, free: 0.8789 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.003592, allocations: 131.2 kB / 26.7 MB, free: 0.75 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.00372, allocations: 139.1 kB / 26.84 MB, free: 0.6133 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.003758, allocations: 12 kB / 26.85 MB, free: 0.6016 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.003996, allocations: 207.6 kB / 27.05 MB, free: 408 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.004072, allocations: 79.62 kB / 27.13 MB, free: 328 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.00417, allocations: 164.7 kB / 27.29 MB, free: 156 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.004661, allocations: 0.4985 MB / 27.79 MB, free: 4.297 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004673, allocations: 0 / 27.79 MB, free: 4.297 MB / 18.57 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004679, allocations: 0 / 27.79 MB, free: 4.297 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004689, allocations: 0 / 27.79 MB, free: 4.297 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.0006416/0.005335, allocations: 0.6059 MB / 28.4 MB, free: 3.633 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.005372, allocations: 8.969 kB / 28.4 MB, free: 3.625 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.005452, allocations: 44.47 kB / 28.45 MB, free: 3.582 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.005769, allocations: 303.7 kB / 28.74 MB, free: 3.246 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.005813, allocations: 34.69 kB / 28.78 MB, free: 3.215 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.00589, allocations: 52.36 kB / 28.83 MB, free: 3.164 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/0.006818, allocations: 0.6407 MB / 29.47 MB, free: 2.504 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.00684, allocations: 192 / 29.47 MB, free: 2.504 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.006887, allocations: 25.72 kB / 29.5 MB, free: 2.48 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/0.006956, allocations: 36.97 kB / 29.53 MB, free: 2.445 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006963/0.007659, allocations: 459.7 kB / 29.98 MB, free: 1.996 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.009457, allocations: 1.508 MB / 31.49 MB, free: 364 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.009861, allocations: 246.6 kB / 31.73 MB, free: 108 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005551/0.01542, allocations: 181.7 kB / 31.91 MB, free: 7.488 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/0.01577, allocations: 0.5897 MB / 32.5 MB, free: 6.832 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.01581, allocations: 38.73 kB / 32.53 MB, free: 6.793 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.01581, allocations: 1.312 kB / 32.54 MB, free: 6.793 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.0009797/0.0168, allocations: 0.5473 MB / 33.08 MB, free: 6.727 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.01686, allocations: 151.2 kB / 33.23 MB, free: 6.57 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.01703, allocations: 221.1 kB / 33.45 MB, free: 6.461 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.01706, allocations: 33.36 kB / 33.48 MB, free: 6.43 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.01715, allocations: 214.6 kB / 33.69 MB, free: 6.301 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.01721, allocations: 75.47 kB / 33.76 MB, free: 6.258 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.01723, allocations: 9.234 kB / 33.77 MB, free: 6.258 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.01728, allocations: 333.8 kB / 34.1 MB, free: 5.945 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.01751, allocations: 163.9 kB / 34.26 MB, free: 5.938 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.01776, allocations: 243.2 kB / 34.5 MB, free: 5.852 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.01818, allocations: 415.4 kB / 34.9 MB, free: 5.645 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01819, allocations: 0 / 34.9 MB, free: 5.645 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006498/0.01885, allocations: 0.5493 MB / 35.45 MB, free: 5.32 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.0189, allocations: 49.69 kB / 35.5 MB, free: 5.266 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01891, allocations: 0.75 kB / 35.5 MB, free: 5.266 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01893, allocations: 12 kB / 35.51 MB, free: 5.258 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.0191, allocations: 47.91 kB / 35.56 MB, free: 5.211 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.01912, allocations: 11.22 kB / 35.57 MB, free: 5.203 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.01927, allocations: 47.67 kB / 35.62 MB, free: 5.156 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.01932, allocations: 23.98 kB / 35.64 MB, free: 5.133 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[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 (36): * Single equations (assignments): 33 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.01951, allocations: 253.9 kB / 35.89 MB, free: 4.875 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.01956, allocations: 15.81 kB / 35.9 MB, free: 4.859 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/0.0202, allocations: 493 kB / 36.38 MB, free: 4.375 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.02023, allocations: 7.984 kB / 36.39 MB, free: 4.367 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.02024, allocations: 0 / 36.39 MB, free: 4.367 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.02025, allocations: 0 / 36.39 MB, free: 4.367 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008995/0.02116, allocations: 0.9327 MB / 37.32 MB, free: 3.379 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.02117, allocations: 10.88 kB / 37.33 MB, free: 3.371 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.02131, allocations: 34.44 kB / 37.37 MB, free: 3.34 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.02132, allocations: 4 kB / 37.37 MB, free: 3.336 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.02135, allocations: 11.98 kB / 37.38 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.02136, allocations: 0 / 37.38 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.02136, allocations: 0 / 37.38 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.02215, allocations: 0.7327 MB / 38.12 MB, free: 2.57 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.02219, allocations: 100.8 kB / 38.22 MB, free: 2.453 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.02224, allocations: 12 kB / 38.23 MB, free: 2.441 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.02239, allocations: 36.03 kB / 38.26 MB, free: 2.406 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.02251, allocations: 59.41 kB / 38.32 MB, free: 2.352 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.02254, allocations: 11.98 kB / 38.33 MB, free: 2.34 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.699e-05/0.02262, allocations: 145.2 kB / 38.47 MB, free: 2.199 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02263, allocations: 0 / 38.47 MB, free: 2.199 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003846/0.02302, allocations: 146.9 kB / 38.62 MB, free: 2.062 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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.02325, allocations: 185.2 kB / 38.8 MB, free: 1.887 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005648/0.02383, allocations: 495.1 kB / 39.28 MB, free: 1.395 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02384, allocations: 3.828 kB / 39.29 MB, free: 1.395 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.02411, allocations: 275.7 kB / 39.55 MB, free: 1.113 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.02444, allocations: 40.25 kB / 39.59 MB, free: 1.074 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.02555, allocations: 0.9221 MB / 40.52 MB, free: 136 kB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005704/0.03126, allocations: 0.8447 MB / 41.36 MB, free: 5.711 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.03152, allocations: 114 kB / 41.47 MB, free: 5.703 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.03161, allocations: 38.62 kB / 41.51 MB, free: 5.695 MB / 18.57 MB Notification: Performance of SimCode: time 7.51e-07/0.03162, allocations: 2.531 kB / 41.51 MB, free: 5.695 MB / 18.57 MB Notification: Performance of Templates: time 0.006356/0.03798, allocations: 4.129 MB / 45.64 MB, free: 3.137 MB / 18.57 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)