Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01261/0.01261, allocations: 1.337 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.052e-05, allocations: 6.062 kB / 13.13 MB, free: 3.02 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008078/0.000858, allocations: 354.1 kB / 13.48 MB, free: 2.867 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01503/0.01591, allocations: 3.34 MB / 16.82 MB, free: 0.7305 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.01615, allocations: 52.16 kB / 16.87 MB, free: 0.7305 MB / 7.832 MB Notification: Performance of FrontEnd - DAE generated: time 0.04069/0.05686, allocations: 5.15 MB / 22.02 MB, free: 4.328 MB / 14.12 MB Notification: Performance of FrontEnd: time 2.004e-06/0.05691, allocations: 0 / 22.02 MB, free: 4.328 MB / 14.12 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.05695, allocations: 4.344 kB / 22.02 MB, free: 4.328 MB / 14.12 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009365/0.0579, allocations: 0.5009 MB / 22.52 MB, free: 3.906 MB / 14.12 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.05797, allocations: 8.406 kB / 22.53 MB, free: 3.906 MB / 14.12 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.0581, allocations: 28.77 kB / 22.56 MB, free: 3.895 MB / 14.12 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.05867, allocations: 250.7 kB / 22.81 MB, free: 3.691 MB / 14.12 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.05873, allocations: 9.688 kB / 22.81 MB, free: 3.691 MB / 14.12 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.05883, allocations: 14.12 kB / 22.83 MB, free: 3.691 MB / 14.12 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006914/0.05954, allocations: 196.4 kB / 23.02 MB, free: 3.691 MB / 14.12 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.06042, allocations: 288.4 kB / 23.3 MB, free: 3.629 MB / 14.12 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.06046, allocations: 7.094 kB / 23.31 MB, free: 3.629 MB / 14.12 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.06052, allocations: 3.953 kB / 23.31 MB, free: 3.625 MB / 14.12 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/0.0606, allocations: 12.44 kB / 23.33 MB, free: 3.625 MB / 14.12 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.06238, allocations: 0.6739 MB / 24 MB, free: 3.273 MB / 14.12 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.06275, allocations: 112.4 kB / 24.11 MB, free: 3.25 MB / 14.12 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.06299, allocations: 81.47 kB / 24.19 MB, free: 3.242 MB / 14.12 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000726/0.06374, allocations: 424.4 kB / 24.6 MB, free: 2.773 MB / 14.12 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/0.06381, allocations: 41.16 kB / 24.64 MB, free: 2.734 MB / 14.12 MB Notification: Performance of pre-optimization done (n=13): time 3.877e-06/0.06383, allocations: 1.031 kB / 24.64 MB, free: 2.734 MB / 14.12 MB Notification: Performance of matching and sorting (n=13): time 0.000838/0.06468, allocations: 179.5 kB / 24.82 MB, free: 2.699 MB / 14.12 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.06481, allocations: 111.6 kB / 24.93 MB, free: 2.57 MB / 14.12 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.06502, allocations: 137.5 kB / 25.06 MB, free: 2.473 MB / 14.12 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.06508, allocations: 25.7 kB / 25.09 MB, free: 2.441 MB / 14.12 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.06524, allocations: 150.9 kB / 25.23 MB, free: 2.324 MB / 14.12 MB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.06532, allocations: 40.34 kB / 25.27 MB, free: 2.301 MB / 14.12 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.06536, allocations: 0 / 25.27 MB, free: 2.301 MB / 14.12 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.06556, allocations: 322.1 kB / 25.59 MB, free: 1.988 MB / 14.12 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.06579, allocations: 69.64 kB / 25.66 MB, free: 1.988 MB / 14.12 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.06607, allocations: 117.9 kB / 25.77 MB, free: 1.926 MB / 14.12 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.06645, allocations: 79.23 kB / 25.85 MB, free: 1.914 MB / 14.12 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.06648, allocations: 3.938 kB / 25.85 MB, free: 1.91 MB / 14.12 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000898/0.06739, allocations: 228.8 kB / 26.08 MB, free: 1.867 MB / 14.12 MB Notification: Performance of prepare postOptimizeDAE: time 8.069e-05/0.06749, allocations: 40.06 kB / 26.12 MB, free: 1.836 MB / 14.12 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.06752, allocations: 3.906 kB / 26.12 MB, free: 1.836 MB / 14.12 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.06756, allocations: 0 / 26.12 MB, free: 1.836 MB / 14.12 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.06786, allocations: 34.03 kB / 26.15 MB, free: 1.832 MB / 14.12 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.0679, allocations: 15.2 kB / 26.17 MB, free: 1.824 MB / 14.12 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.06814, allocations: 13.7 kB / 26.18 MB, free: 1.82 MB / 14.12 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.06821, allocations: 14.47 kB / 26.2 MB, free: 1.82 MB / 14.12 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireIn[1],P1.feeding,P1.emptying,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.0002297/0.06845, allocations: 147.4 kB / 26.34 MB, free: 1.68 MB / 14.12 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.06855, allocations: 11.62 kB / 26.35 MB, free: 1.676 MB / 14.12 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.06966, allocations: 263.5 kB / 26.61 MB, free: 1.633 MB / 14.12 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.06973, allocations: 4 kB / 26.61 MB, free: 1.629 MB / 14.12 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.06975, allocations: 0 / 26.61 MB, free: 1.629 MB / 14.12 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.06977, allocations: 3.953 kB / 26.62 MB, free: 1.625 MB / 14.12 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.07129, allocations: 0.4992 MB / 27.11 MB, free: 1.289 MB / 14.12 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.07134, allocations: 0 / 27.11 MB, free: 1.289 MB / 14.12 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.07163, allocations: 27.5 kB / 27.14 MB, free: 1.285 MB / 14.12 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.07166, allocations: 0 / 27.14 MB, free: 1.285 MB / 14.12 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.07171, allocations: 3.312 kB / 27.14 MB, free: 1.285 MB / 14.12 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.07173, allocations: 0 / 27.14 MB, free: 1.285 MB / 14.12 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.07175, allocations: 11.3 kB / 27.16 MB, free: 1.277 MB / 14.12 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.07292, allocations: 381.2 kB / 27.53 MB, free: 1.066 MB / 14.12 MB Notification: Performance of postOpt removeConstants (simulation): time 9.044e-05/0.07304, allocations: 92.05 kB / 27.62 MB, free: 0.9648 MB / 14.12 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.07312, allocations: 7.938 kB / 27.63 MB, free: 0.9609 MB / 14.12 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.07339, allocations: 15.06 kB / 27.64 MB, free: 0.957 MB / 14.12 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.0736, allocations: 27.88 kB / 27.67 MB, free: 0.9453 MB / 14.12 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.07367, allocations: 15.53 kB / 27.68 MB, free: 0.9336 MB / 14.12 MB Notification: Performance of sorting global known variables: time 0.0001413/0.07383, allocations: 107 kB / 27.79 MB, free: 0.832 MB / 14.12 MB Notification: Performance of sort global known variables: time 6.72e-07/0.07385, allocations: 0 / 27.79 MB, free: 0.832 MB / 14.12 MB Notification: Performance of remove unused functions: time 0.0009031/0.07477, allocations: 91.38 kB / 27.88 MB, free: 0.7461 MB / 14.12 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.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0004977/0.07529, allocations: 162.2 kB / 28.03 MB, free: 0.5859 MB / 14.12 MB Notification: Performance of simCode: created initialization part: time 0.000761/0.07607, allocations: 233.7 kB / 28.26 MB, free: 372 kB / 14.12 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.0761, allocations: 0 / 28.26 MB, free: 372 kB / 14.12 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.07648, allocations: 149.4 kB / 28.41 MB, free: 224 kB / 14.12 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.07694, allocations: 22.81 kB / 28.43 MB, free: 208 kB / 14.12 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.08993, allocations: 320.8 kB / 28.74 MB, free: 3.152 MB / 14.12 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.09035, allocations: 0.7653 MB / 29.51 MB, free: 2.449 MB / 14.12 MB Notification: Performance of simCode: alias equations: time 0.0003489/0.09072, allocations: 59.78 kB / 29.57 MB, free: 2.449 MB / 14.12 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.09088, allocations: 35.02 kB / 29.6 MB, free: 2.441 MB / 14.12 MB Notification: Performance of SimCode: time 1.312e-06/0.0909, allocations: 0 / 29.6 MB, free: 2.441 MB / 14.12 MB Notification: Performance of Templates: time 0.01166/0.1026, allocations: 2.243 MB / 31.85 MB, free: 2.332 MB / 14.12 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test3.makefile (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & ./ConPNlib_ConPNlib.Examples.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)