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.005565/0.005565, allocations: 1.364 MB / 16.61 MB, free: 5.152 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.712e-05, allocations: 0 / 23.66 MB, free: 3.801 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003669/0.0004014, allocations: 360.3 kB / 24.01 MB, free: 3.48 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.001093/0.001502, allocations: 1.558 MB / 25.57 MB, free: 1.922 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.0026, allocations: 0.9064 MB / 26.48 MB, free: 1.016 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.002769, allocations: 7.938 kB / 26.49 MB, free: 1.008 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.003021, allocations: 111.9 kB / 26.6 MB, free: 0.8984 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005926/0.003622, allocations: 313.7 kB / 26.9 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.003734, allocations: 51.95 kB / 26.95 MB, free: 0.543 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.004115, allocations: 0.5842 MB / 27.54 MB, free: 4.602 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.004443, allocations: 305.5 kB / 27.83 MB, free: 4.289 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.004633, allocations: 218.6 kB / 28.05 MB, free: 4.074 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.004869, allocations: 258.2 kB / 28.3 MB, free: 3.82 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.325e-05/0.00493, allocations: 20 kB / 28.32 MB, free: 3.801 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.005241, allocations: 235.6 kB / 28.55 MB, free: 3.57 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.005377, allocations: 147.3 kB / 28.69 MB, free: 3.426 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.005579, allocations: 262 kB / 28.95 MB, free: 3.168 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006927/0.006281, allocations: 0.7827 MB / 29.73 MB, free: 2.383 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006294, allocations: 3.938 kB / 29.74 MB, free: 2.379 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.234e-06/0.006301, allocations: 3.984 kB / 29.74 MB, free: 2.375 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.006313, allocations: 0 / 29.74 MB, free: 2.375 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.0008885/0.007208, allocations: 0.8459 MB / 30.59 MB, free: 1.469 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.00725, allocations: 16.97 kB / 30.6 MB, free: 1.453 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.007377, allocations: 76.09 kB / 30.68 MB, free: 1.379 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.007863, allocations: 423.8 kB / 31.09 MB, free: 0.9258 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/0.007936, allocations: 74.34 kB / 31.16 MB, free: 0.8516 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.008051, allocations: 88.36 kB / 31.25 MB, free: 0.7656 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006268/0.01433, allocations: 1.215 MB / 32.46 MB, free: 7.016 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.01437, allocations: 3 kB / 32.47 MB, free: 7.016 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.01444, allocations: 44.14 kB / 32.51 MB, free: 7.016 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.55e-05/0.01454, allocations: 78.25 kB / 32.59 MB, free: 7.016 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.01567, allocations: 0.874 MB / 33.46 MB, free: 6.887 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.01788, allocations: 2.425 MB / 35.89 MB, free: 4.938 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.01859, allocations: 0.6505 MB / 36.54 MB, free: 4.238 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.01898, allocations: 377.5 kB / 36.9 MB, free: 3.871 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/0.01932, allocations: 0.5994 MB / 37.5 MB, free: 3.145 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.01935, allocations: 38.88 kB / 37.54 MB, free: 3.098 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 2.334e-06/0.01936, allocations: 0 / 37.54 MB, free: 3.098 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.002543/0.02191, allocations: 1.412 MB / 38.95 MB, free: 1.656 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.02199, allocations: 212.2 kB / 39.16 MB, free: 1.402 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.02224, allocations: 314.3 kB / 39.47 MB, free: 1.086 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.02229, allocations: 41.7 kB / 39.51 MB, free: 1.039 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.02244, allocations: 337.3 kB / 39.84 MB, free: 0.7148 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/0.02254, allocations: 140.8 kB / 39.98 MB, free: 0.582 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.02262, allocations: 81.67 kB / 40.06 MB, free: 0.4961 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.02269, allocations: 346.8 kB / 40.39 MB, free: 152 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006936/0.02964, allocations: 310.1 kB / 40.7 MB, free: 5.98 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006888/0.03036, allocations: 455.7 kB / 41.14 MB, free: 5.828 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009592/0.03133, allocations: 0.7799 MB / 41.92 MB, free: 5.574 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.03135, allocations: 0 / 41.92 MB, free: 5.574 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001462/0.03282, allocations: 1.07 MB / 42.99 MB, free: 5.305 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/0.03289, allocations: 85.53 kB / 43.08 MB, free: 5.234 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.03291, allocations: 3.969 kB / 43.08 MB, free: 5.234 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/0.03461, allocations: 434.7 kB / 43.5 MB, free: 5.059 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.03482, allocations: 81.02 kB / 43.58 MB, free: 4.98 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005161/0.03535, allocations: 0.7722 MB / 44.36 MB, free: 4.191 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.03561, allocations: 95.64 kB / 44.45 MB, free: 4.129 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.03568, allocations: 35.98 kB / 44.48 MB, free: 4.094 MB / 18.57 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.0003826/0.03606, allocations: 377.9 kB / 44.85 MB, free: 3.703 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.03614, allocations: 39 kB / 44.89 MB, free: 3.68 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.03737, allocations: 0.9956 MB / 45.89 MB, free: 2.676 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.03741, allocations: 15.98 kB / 45.9 MB, free: 2.66 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.03742, allocations: 0 / 45.9 MB, free: 2.66 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.03743, allocations: 0 / 45.9 MB, free: 2.66 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.03917, allocations: 1.663 MB / 47.57 MB, free: 0.957 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.03919, allocations: 0 / 47.57 MB, free: 0.957 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.03935, allocations: 47.97 kB / 47.61 MB, free: 0.9102 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006041/0.0454, allocations: 327.3 kB / 47.93 MB, free: 5.586 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/0.04548, allocations: 22.27 kB / 47.95 MB, free: 5.586 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005275/0.04602, allocations: 0.8074 MB / 48.76 MB, free: 5.07 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.04603, allocations: 0 / 48.76 MB, free: 5.07 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.04773, allocations: 1.408 MB / 50.17 MB, free: 4.867 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.04778, allocations: 107.7 kB / 50.27 MB, free: 4.773 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.04786, allocations: 19.73 kB / 50.29 MB, free: 4.773 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.04807, allocations: 50.89 kB / 50.34 MB, free: 4.77 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.04827, allocations: 113.8 kB / 50.45 MB, free: 4.742 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.04832, allocations: 27.08 kB / 50.48 MB, free: 4.738 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001316/0.04846, allocations: 200.2 kB / 50.68 MB, free: 4.629 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04846, allocations: 0 / 50.68 MB, free: 4.629 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004781/0.04895, allocations: 245.3 kB / 50.91 MB, free: 4.594 MB / 18.57 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.0002442/0.0492, allocations: 193.8 kB / 51.1 MB, free: 4.492 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.05029, allocations: 0.9657 MB / 52.07 MB, free: 3.703 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.0503, allocations: 0 / 52.07 MB, free: 3.703 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005514/0.05086, allocations: 0.5536 MB / 52.62 MB, free: 3.133 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.05124, allocations: 59.02 kB / 52.68 MB, free: 3.074 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.05301, allocations: 1.694 MB / 54.38 MB, free: 1.371 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.05334, allocations: 1.02 MB / 55.4 MB, free: 336 kB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.05355, allocations: 123.8 kB / 55.52 MB, free: 216 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.05362, allocations: 42.05 kB / 55.56 MB, free: 180 kB / 18.57 MB Notification: Performance of SimCode: time 2.4e-07/0.05362, allocations: 0 / 55.56 MB, free: 180 kB / 18.57 MB Notification: Performance of Templates: time 0.01615/0.06978, allocations: 8.054 MB / 63.61 MB, free: 4.777 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)