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.009337/0.009337, allocations: 1.361 MB / 17.27 MB, free: 4.562 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.503e-05/1.506e-05, allocations: 4 kB / 24.32 MB, free: 3.109 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004421/0.000471, allocations: 359.5 kB / 24.67 MB, free: 2.797 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.001108/0.001587, allocations: 1.556 MB / 26.23 MB, free: 1.238 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002665, allocations: 0.9025 MB / 27.13 MB, free: 344 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.002827, allocations: 7.938 kB / 27.14 MB, free: 336 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.003065, allocations: 113.5 kB / 27.25 MB, free: 224 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006129/0.003685, allocations: 310.9 kB / 27.55 MB, free: 4.559 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.003813, allocations: 60.75 kB / 27.61 MB, free: 4.5 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.004332, allocations: 0.588 MB / 28.2 MB, free: 3.91 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.004691, allocations: 299.3 kB / 28.49 MB, free: 3.602 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.004909, allocations: 222.6 kB / 28.71 MB, free: 3.383 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.005163, allocations: 262.2 kB / 28.97 MB, free: 3.125 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.005226, allocations: 24 kB / 28.99 MB, free: 3.102 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.005546, allocations: 215.6 kB / 29.2 MB, free: 2.891 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.005698, allocations: 155.3 kB / 29.35 MB, free: 2.738 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.005912, allocations: 262 kB / 29.61 MB, free: 2.48 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.006596, allocations: 0.7896 MB / 30.4 MB, free: 1.691 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.00661, allocations: 3.984 kB / 30.4 MB, free: 1.688 MB / 18.57 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006616, allocations: 0 / 30.4 MB, free: 1.688 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.00663, allocations: 0 / 30.4 MB, free: 1.688 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.0008863/0.007523, allocations: 0.8465 MB / 31.25 MB, free: 0.7812 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.007563, allocations: 8.312 kB / 31.25 MB, free: 0.7734 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.007695, allocations: 80.09 kB / 31.33 MB, free: 0.6953 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.008201, allocations: 431.8 kB / 31.75 MB, free: 240 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.00827, allocations: 66.36 kB / 31.82 MB, free: 172 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.008384, allocations: 88.36 kB / 31.91 MB, free: 84 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006315/0.01471, allocations: 1.218 MB / 33.12 MB, free: 7.312 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.01474, allocations: 3.656 kB / 33.13 MB, free: 7.312 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.01481, allocations: 41.72 kB / 33.17 MB, free: 7.312 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.171e-05/0.01491, allocations: 83.59 kB / 33.25 MB, free: 7.297 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.016, allocations: 0.8747 MB / 34.12 MB, free: 6.797 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.01816, allocations: 2.415 MB / 36.54 MB, free: 4.312 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.01885, allocations: 0.6544 MB / 37.19 MB, free: 3.609 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.01925, allocations: 373.7 kB / 37.56 MB, free: 3.242 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.01954, allocations: 0.5992 MB / 38.16 MB, free: 2.52 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.01956, allocations: 34.88 kB / 38.19 MB, free: 2.477 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.01957, allocations: 0 / 38.19 MB, free: 2.477 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.002553/0.02213, allocations: 1.415 MB / 39.61 MB, free: 1.031 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.02219, allocations: 212.2 kB / 39.81 MB, free: 0.7773 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.02241, allocations: 310.3 kB / 40.12 MB, free: 476 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.02245, allocations: 45.69 kB / 40.16 MB, free: 424 kB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.02257, allocations: 331.9 kB / 40.49 MB, free: 96 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.004757/0.02734, allocations: 135.2 kB / 40.62 MB, free: 6.203 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.02744, allocations: 84.06 kB / 40.7 MB, free: 6.188 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.772e-05/0.02751, allocations: 346.5 kB / 41.04 MB, free: 5.875 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.02796, allocations: 312.3 kB / 41.34 MB, free: 5.875 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.02845, allocations: 461 kB / 41.79 MB, free: 5.723 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.02925, allocations: 0.7767 MB / 42.57 MB, free: 5.469 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.02927, allocations: 3.781 kB / 42.57 MB, free: 5.469 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001352/0.03063, allocations: 1.072 MB / 43.65 MB, free: 5.09 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.03069, allocations: 84.22 kB / 43.73 MB, free: 5.02 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.03071, allocations: 7.656 kB / 43.74 MB, free: 5.02 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.03241, allocations: 436.1 kB / 44.16 MB, free: 4.703 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.03263, allocations: 72.64 kB / 44.23 MB, free: 4.633 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000568/0.03321, allocations: 0.7725 MB / 45.01 MB, free: 3.84 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.03348, allocations: 93.48 kB / 45.1 MB, free: 3.781 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.03354, allocations: 36.92 kB / 45.13 MB, free: 3.746 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.000348/0.0339, allocations: 389.3 kB / 45.51 MB, free: 3.348 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.03397, allocations: 42.56 kB / 45.55 MB, free: 3.32 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.03523, allocations: 0.9866 MB / 46.54 MB, free: 2.324 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.03525, allocations: 3.984 kB / 46.55 MB, free: 2.32 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.03525, allocations: 0 / 46.55 MB, free: 2.32 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.0353, allocations: 116.6 kB / 46.66 MB, free: 2.211 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.03537, allocations: 22.45 kB / 46.68 MB, free: 2.191 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.03559, allocations: 47.97 kB / 46.73 MB, free: 2.145 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.03578, allocations: 117.1 kB / 46.84 MB, free: 2.031 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001566/0.03735, allocations: 1.214 MB / 48.06 MB, free: 0.793 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006564/0.04393, allocations: 1.401 MB / 49.46 MB, free: 5.281 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004375/0.04439, allocations: 370.3 kB / 49.82 MB, free: 5.281 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001263/0.04452, allocations: 197.9 kB / 50.01 MB, free: 5.199 MB / 18.57 MB Notification: Performance of Backend: time 5.11e-07/0.04453, allocations: 1.062 kB / 50.01 MB, free: 5.199 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.04578, allocations: 0.8454 MB / 50.86 MB, free: 4.949 MB / 18.57 MB Notification: Performance of SimCode: time 0.001376/0.04716, allocations: 2.033 MB / 52.89 MB, free: 3.48 MB / 18.57 MB Notification: Performance of Templates: time 0.01642/0.06359, allocations: 8.264 MB / 61.16 MB, free: 1.855 MB / 18.57 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)