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.02535/0.02535, allocations: 1.356 MB / 16.31 MB, free: 5.355 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.044e-05, allocations: 4 kB / 23.21 MB, free: 4.043 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001042/0.001096, allocations: 358.2 kB / 23.56 MB, free: 3.891 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.00199/0.003115, allocations: 0.969 MB / 24.53 MB, free: 3.102 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.005379, allocations: 0.6522 MB / 25.19 MB, free: 2.449 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.005797, allocations: 7.938 kB / 25.19 MB, free: 2.441 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.006178, allocations: 71.52 kB / 25.26 MB, free: 2.371 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.007567, allocations: 250.6 kB / 25.51 MB, free: 2.129 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.007843, allocations: 39.94 kB / 25.55 MB, free: 2.09 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.00833, allocations: 211.5 kB / 25.75 MB, free: 1.883 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.008756, allocations: 137.3 kB / 25.89 MB, free: 1.734 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.008994, allocations: 115.3 kB / 26 MB, free: 1.621 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.009261, allocations: 123.2 kB / 26.12 MB, free: 1.5 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.009344, allocations: 15.94 kB / 26.14 MB, free: 1.484 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.009955, allocations: 183.7 kB / 26.32 MB, free: 1.305 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.01011, allocations: 67.73 kB / 26.38 MB, free: 1.238 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 9.731e-05/0.01023, allocations: 73.52 kB / 26.45 MB, free: 1.16 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0007542/0.011, allocations: 385.4 kB / 26.83 MB, free: 0.7852 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.01103, allocations: 0 / 26.83 MB, free: 0.7852 MB / 13.93 MB Notification: Performance of FrontEnd: time 2.545e-06/0.01105, allocations: 4 kB / 26.83 MB, free: 0.7812 MB / 13.93 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.01107, allocations: 0 / 26.83 MB, free: 0.7812 MB / 13.93 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.001139/0.01222, allocations: 0.6059 MB / 27.44 MB, free: 124 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.01228, allocations: 8.297 kB / 27.45 MB, free: 116 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.01247, allocations: 44.39 kB / 27.49 MB, free: 72 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007837/0.01327, allocations: 299.6 kB / 27.78 MB, free: 4.398 MB / 18.59 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.01338, allocations: 37.34 kB / 27.82 MB, free: 4.363 MB / 18.59 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.01357, allocations: 48.33 kB / 27.87 MB, free: 4.316 MB / 18.59 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.01599, allocations: 0.6376 MB / 28.51 MB, free: 3.664 MB / 18.59 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.01608, allocations: 8.328 kB / 28.51 MB, free: 3.656 MB / 18.59 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.0162, allocations: 23.94 kB / 28.54 MB, free: 3.633 MB / 18.59 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.01639, allocations: 40.97 kB / 28.58 MB, free: 3.594 MB / 18.59 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.01831, allocations: 455.7 kB / 29.02 MB, free: 3.148 MB / 18.59 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/0.02276, allocations: 1.497 MB / 30.52 MB, free: 1.52 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.02395, allocations: 239 kB / 30.75 MB, free: 1.277 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.02505, allocations: 0.5975 MB / 31.35 MB, free: 0.5508 MB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.02515, allocations: 38.75 kB / 31.39 MB, free: 0.5039 MB / 18.59 MB Notification: Performance of pre-optimization done (n=23): time 7.564e-06/0.02517, allocations: 0 / 31.39 MB, free: 0.5039 MB / 18.59 MB Notification: Performance of matching and sorting (n=23): time 0.01857/0.04376, allocations: 0.6332 MB / 32.02 MB, free: 7.926 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.04394, allocations: 145.5 kB / 32.16 MB, free: 7.77 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.0444, allocations: 215 kB / 32.37 MB, free: 7.66 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.0445, allocations: 31.98 kB / 32.4 MB, free: 7.629 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.0448, allocations: 215.9 kB / 32.61 MB, free: 7.504 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.04495, allocations: 82.84 kB / 32.7 MB, free: 7.461 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.04502, allocations: 7.312 kB / 32.7 MB, free: 7.461 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.04514, allocations: 329.1 kB / 33.02 MB, free: 7.148 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/0.04586, allocations: 167.6 kB / 33.19 MB, free: 7.141 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/0.04664, allocations: 244.6 kB / 33.43 MB, free: 7.059 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.04734, allocations: 199.7 kB / 33.62 MB, free: 6.977 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.04737, allocations: 0 / 33.62 MB, free: 6.977 MB / 18.59 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001948/0.04934, allocations: 0.5387 MB / 34.16 MB, free: 6.773 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 9.321e-05/0.04948, allocations: 44.72 kB / 34.2 MB, free: 6.738 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.04951, allocations: 5.312 kB / 34.21 MB, free: 6.738 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.04956, allocations: 3.625 kB / 34.21 MB, free: 6.738 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.05003, allocations: 56.42 kB / 34.27 MB, free: 6.734 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.05007, allocations: 1.984 kB / 34.27 MB, free: 6.734 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.05052, allocations: 60.39 kB / 34.33 MB, free: 6.711 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.321e-05/0.05062, allocations: 14.84 kB / 34.34 MB, free: 6.711 MB / 18.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005388/0.05118, allocations: 250.8 kB / 34.59 MB, free: 6.477 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.05131, allocations: 19.81 kB / 34.61 MB, free: 6.457 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.05314, allocations: 489.9 kB / 35.09 MB, free: 5.98 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.583e-05/0.05323, allocations: 8 kB / 35.09 MB, free: 5.973 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.05326, allocations: 3.781 kB / 35.1 MB, free: 5.973 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.05328, allocations: 0.9375 kB / 35.1 MB, free: 5.973 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.05588, allocations: 0.9361 MB / 36.03 MB, free: 4.984 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.05595, allocations: 0.75 kB / 36.04 MB, free: 4.984 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.05636, allocations: 31.98 kB / 36.07 MB, free: 4.953 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.05639, allocations: 3.984 kB / 36.07 MB, free: 4.949 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.05647, allocations: 17.05 kB / 36.09 MB, free: 4.934 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.05649, allocations: 6 kB / 36.09 MB, free: 4.93 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.25e-05/0.05653, allocations: 0 / 36.09 MB, free: 4.93 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.05885, allocations: 0.7401 MB / 36.83 MB, free: 4.172 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/0.059, allocations: 96.89 kB / 36.93 MB, free: 4.059 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.05912, allocations: 11 kB / 36.94 MB, free: 4.051 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.05953, allocations: 35.92 kB / 36.97 MB, free: 4.016 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.05984, allocations: 59.92 kB / 37.03 MB, free: 3.957 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/0.05993, allocations: 12.55 kB / 37.04 MB, free: 3.945 MB / 18.59 MB Notification: Performance of sorting global known variables: time 0.0002146/0.06016, allocations: 149.2 kB / 37.19 MB, free: 3.801 MB / 18.59 MB Notification: Performance of sort global known variables: time 7.11e-07/0.06018, allocations: 0 / 37.19 MB, free: 3.801 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.001046/0.06124, allocations: 145.8 kB / 37.33 MB, free: 3.668 MB / 18.59 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 (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.000579/0.06185, allocations: 189.9 kB / 37.52 MB, free: 3.488 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.06356, allocations: 487.6 kB / 37.99 MB, free: 3 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.06361, allocations: 0 / 37.99 MB, free: 3 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0007858/0.06441, allocations: 279.1 kB / 38.27 MB, free: 2.715 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.06499, allocations: 28.31 kB / 38.29 MB, free: 2.691 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.06764, allocations: 0.8422 MB / 39.14 MB, free: 1.82 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.0682, allocations: 0.8579 MB / 39.99 MB, free: 0.9375 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.000588/0.06881, allocations: 105 kB / 40.1 MB, free: 0.8359 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.06905, allocations: 50.41 kB / 40.15 MB, free: 0.7891 MB / 18.59 MB Notification: Performance of SimCode: time 1.513e-06/0.06907, allocations: 4 kB / 40.15 MB, free: 0.7852 MB / 18.59 MB Notification: Performance of Templates: time 0.03637/0.1055, allocations: 4.03 MB / 44.18 MB, free: 4.301 MB / 18.59 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)