Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") translateModel(ConPNlib.Examples.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005591/0.005591, allocations: 1.362 MB / 17.26 MB, free: 4.402 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.575e-05, allocations: 5.031 kB / 24.31 MB, free: 3.008 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005737/0.0006052, allocations: 354.7 kB / 24.66 MB, free: 2.695 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.001313/0.001928, allocations: 1.564 MB / 26.22 MB, free: 1.129 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.003324, allocations: 0.9032 MB / 27.13 MB, free: 232 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.003562, allocations: 7.938 kB / 27.13 MB, free: 224 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.003855, allocations: 111.2 kB / 27.24 MB, free: 112 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.004588, allocations: 306.9 kB / 27.54 MB, free: 4.453 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.004725, allocations: 62.88 kB / 27.6 MB, free: 4.395 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.005295, allocations: 0.5803 MB / 28.18 MB, free: 3.812 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.005649, allocations: 297.2 kB / 28.47 MB, free: 3.504 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.005881, allocations: 230.6 kB / 28.7 MB, free: 3.277 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.00614, allocations: 258.2 kB / 28.95 MB, free: 3.023 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/0.006223, allocations: 24 kB / 28.97 MB, free: 3 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.006588, allocations: 223.6 kB / 29.19 MB, free: 2.781 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.006759, allocations: 151.3 kB / 29.34 MB, free: 2.633 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.006981, allocations: 266 kB / 29.6 MB, free: 2.371 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.00765, allocations: 0.6046 MB / 30.2 MB, free: 1.766 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.007672, allocations: 4 kB / 30.21 MB, free: 1.762 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.144e-06/0.00768, allocations: 0 / 30.21 MB, free: 1.762 MB / 18.57 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.007698, allocations: 0 / 30.21 MB, free: 1.762 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001001/0.008705, allocations: 0.8418 MB / 31.05 MB, free: 0.8594 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.008758, allocations: 12.97 kB / 31.06 MB, free: 0.8477 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.008907, allocations: 76.09 kB / 31.14 MB, free: 0.7734 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/0.009501, allocations: 439.7 kB / 31.57 MB, free: 312 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.009601, allocations: 70.36 kB / 31.64 MB, free: 240 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.009725, allocations: 88.36 kB / 31.72 MB, free: 152 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008784/0.01852, allocations: 1.215 MB / 32.94 MB, free: 4.785 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.01858, allocations: 4.5 kB / 32.94 MB, free: 4.785 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.15e-05/0.01866, allocations: 40.72 kB / 32.98 MB, free: 4.785 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.01881, allocations: 78.47 kB / 33.06 MB, free: 4.785 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.02004, allocations: 0.8724 MB / 33.93 MB, free: 4.777 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.02254, allocations: 2.43 MB / 36.36 MB, free: 2.645 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.02329, allocations: 0.6532 MB / 37.01 MB, free: 1.949 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.0237, allocations: 369.7 kB / 37.37 MB, free: 1.586 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/0.02402, allocations: 0.5955 MB / 37.97 MB, free: 0.8633 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.02406, allocations: 38.88 kB / 38.01 MB, free: 0.8164 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 2.594e-06/0.02407, allocations: 0 / 38.01 MB, free: 0.8164 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.002851/0.02692, allocations: 1.411 MB / 39.42 MB, free: 5.574 MB / 24.77 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.02709, allocations: 212.2 kB / 39.62 MB, free: 5.32 MB / 24.77 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.02743, allocations: 314.3 kB / 39.93 MB, free: 5.004 MB / 24.77 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.02749, allocations: 37.7 kB / 39.97 MB, free: 4.961 MB / 24.77 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.02772, allocations: 338.8 kB / 40.3 MB, free: 4.637 MB / 24.77 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.02784, allocations: 138.3 kB / 40.43 MB, free: 4.504 MB / 24.77 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.02795, allocations: 89.66 kB / 40.52 MB, free: 4.41 MB / 24.77 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.02809, allocations: 338.8 kB / 40.85 MB, free: 4.07 MB / 24.77 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.02862, allocations: 312.9 kB / 41.16 MB, free: 3.766 MB / 24.77 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005853/0.02922, allocations: 459.2 kB / 41.61 MB, free: 3.262 MB / 24.77 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.03027, allocations: 0.7849 MB / 42.39 MB, free: 2.414 MB / 24.77 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.03029, allocations: 4 kB / 42.4 MB, free: 2.41 MB / 24.77 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00173/0.03202, allocations: 1.072 MB / 43.47 MB, free: 1.34 MB / 24.77 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-05/0.03212, allocations: 87.31 kB / 43.55 MB, free: 1.242 MB / 24.77 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.03214, allocations: 4.438 kB / 43.56 MB, free: 1.238 MB / 24.77 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/0.03406, allocations: 431.6 kB / 43.98 MB, free: 0.8164 MB / 24.77 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.03432, allocations: 78.62 kB / 44.06 MB, free: 0.7461 MB / 24.77 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008258/0.04258, allocations: 0.7666 MB / 44.82 MB, free: 11.18 MB / 24.77 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.04306, allocations: 87.11 kB / 44.91 MB, free: 11.18 MB / 24.77 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.04314, allocations: 35.86 kB / 44.94 MB, free: 11.18 MB / 24.77 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 26 (P1.emptying,$PRE.P1.fireOut[1],P3.feeding,$PRE.P3.fireIn[1],P2.outTransition[1].arcType,P1.outTransition[1].arcType,T1.activation.fed[1],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],P3.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.fed[1],P2.fireOut[1],$PRE.P2.fireOut[1],P2.fireIn[1],$PRE.P2.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[1],P1.fireOut[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005587/0.04371, allocations: 390.5 kB / 45.32 MB, free: 11 MB / 24.77 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/0.04381, allocations: 35.69 kB / 45.36 MB, free: 11 MB / 24.77 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.04532, allocations: 0.9886 MB / 46.35 MB, free: 10.88 MB / 24.77 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/0.04536, allocations: 18.97 kB / 46.37 MB, free: 10.88 MB / 24.77 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.04537, allocations: 0 / 46.37 MB, free: 10.88 MB / 24.77 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.04538, allocations: 0 / 46.37 MB, free: 10.88 MB / 24.77 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.04726, allocations: 1.659 MB / 48.03 MB, free: 10.27 MB / 24.77 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.04727, allocations: 0 / 48.03 MB, free: 10.27 MB / 24.77 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.04745, allocations: 46.12 kB / 48.07 MB, free: 10.27 MB / 24.77 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009087/0.04837, allocations: 336.5 kB / 48.4 MB, free: 10.11 MB / 24.77 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.04842, allocations: 19.61 kB / 48.42 MB, free: 10.09 MB / 24.77 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005032/0.04893, allocations: 0.8025 MB / 49.22 MB, free: 9.281 MB / 24.77 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.04894, allocations: 0 / 49.22 MB, free: 9.281 MB / 24.77 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.05057, allocations: 1.41 MB / 50.63 MB, free: 7.871 MB / 24.77 MB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.05063, allocations: 117.5 kB / 50.75 MB, free: 7.766 MB / 24.77 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.0507, allocations: 20 kB / 50.77 MB, free: 7.746 MB / 24.77 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.05095, allocations: 52.44 kB / 50.82 MB, free: 7.695 MB / 24.77 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.05115, allocations: 113.3 kB / 50.93 MB, free: 7.586 MB / 24.77 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.0512, allocations: 23.98 kB / 50.95 MB, free: 7.562 MB / 24.77 MB Notification: Performance of sorting global known variables: time 0.0001317/0.05134, allocations: 197.9 kB / 51.14 MB, free: 7.371 MB / 24.77 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05135, allocations: 0 / 51.14 MB, free: 7.371 MB / 24.77 MB Notification: Performance of remove unused functions: time 0.0005828/0.05194, allocations: 236.8 kB / 51.37 MB, free: 7.172 MB / 24.77 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 14 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002964/0.05224, allocations: 202.9 kB / 51.57 MB, free: 6.988 MB / 24.77 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.05337, allocations: 0.9649 MB / 52.54 MB, free: 6.008 MB / 24.77 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.05339, allocations: 5.812 kB / 52.54 MB, free: 6.004 MB / 24.77 MB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.05392, allocations: 0.5413 MB / 53.09 MB, free: 5.438 MB / 24.77 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.05434, allocations: 56.52 kB / 53.14 MB, free: 5.383 MB / 24.77 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.05625, allocations: 1.716 MB / 54.86 MB, free: 3.641 MB / 24.77 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.05656, allocations: 0.9991 MB / 55.86 MB, free: 2.621 MB / 24.77 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.05666, allocations: 47.41 kB / 55.9 MB, free: 2.578 MB / 24.77 MB Notification: Performance of SimCode: time 4.31e-07/0.05667, allocations: 0 / 55.9 MB, free: 2.578 MB / 24.77 MB Notification: Performance of Templates: time 0.01752/0.0742, allocations: 11.59 MB / 67.49 MB, free: 3.613 MB / 24.77 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test9.makefile (rm -f ConPNlib_ConPNlib.Examples.Test9.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test9.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test9.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test9.sim & ./ConPNlib_ConPNlib.Examples.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test9.pipe 2>&1)