Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") translateModel(ConPNlib.Examples.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008691/0.008691, allocations: 1.357 MB / 17.27 MB, free: 4.562 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.418e-05, allocations: 0 / 24.32 MB, free: 3.16 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003292/0.0003622, allocations: 361.9 kB / 24.67 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test4): time 0.001469/0.00185, allocations: 1.26 MB / 25.93 MB, free: 1.566 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.003363, allocations: 0.8077 MB / 26.74 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.003574, allocations: 8.656 kB / 26.75 MB, free: 0.75 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.00389, allocations: 91.38 kB / 26.84 MB, free: 0.6602 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0008755/0.004781, allocations: 279 kB / 27.11 MB, free: 400 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.004959, allocations: 51.95 kB / 27.16 MB, free: 348 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0005676/0.005545, allocations: 478.6 kB / 27.63 MB, free: 4.516 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004572/0.00602, allocations: 237.1 kB / 27.86 MB, free: 4.273 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.006302, allocations: 190.8 kB / 28.05 MB, free: 4.086 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.006611, allocations: 194.6 kB / 28.24 MB, free: 3.895 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.006698, allocations: 20 kB / 28.26 MB, free: 3.875 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/0.007239, allocations: 219.6 kB / 28.47 MB, free: 3.66 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.007428, allocations: 115.5 kB / 28.58 MB, free: 3.547 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.007693, allocations: 198.5 kB / 28.78 MB, free: 3.352 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0009676/0.008678, allocations: 0.6543 MB / 29.43 MB, free: 2.695 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.008699, allocations: 3.938 kB / 29.44 MB, free: 2.691 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008711, allocations: 0 / 29.44 MB, free: 2.691 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.008726, allocations: 0 / 29.44 MB, free: 2.691 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001151/0.009886, allocations: 0.7369 MB / 30.17 MB, free: 1.895 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.009944, allocations: 12.31 kB / 30.18 MB, free: 1.883 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.01013, allocations: 60.28 kB / 30.24 MB, free: 1.824 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/0.01085, allocations: 364 kB / 30.6 MB, free: 1.43 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.338e-05/0.01095, allocations: 57.67 kB / 30.66 MB, free: 1.371 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.01113, allocations: 76.36 kB / 30.73 MB, free: 1.297 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.01338, allocations: 0.9384 MB / 31.67 MB, free: 348 kB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.01342, allocations: 1.781 kB / 31.67 MB, free: 348 kB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.01354, allocations: 27.98 kB / 31.7 MB, free: 320 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.01372, allocations: 61.27 kB / 31.76 MB, free: 260 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008287/0.02203, allocations: 0.6625 MB / 32.42 MB, free: 7.453 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/0.02502, allocations: 1.789 MB / 34.21 MB, free: 6.559 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/0.02598, allocations: 481.4 kB / 34.68 MB, free: 6.266 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.02657, allocations: 278.9 kB / 34.95 MB, free: 6.062 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006299/0.02722, allocations: 0.8586 MB / 35.81 MB, free: 5.02 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.02726, allocations: 45.81 kB / 35.85 MB, free: 4.969 MB / 18.57 MB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.02728, allocations: 0 / 35.85 MB, free: 4.969 MB / 18.57 MB Notification: Performance of matching and sorting (n=33): time 0.003402/0.03069, allocations: 1.158 MB / 37.01 MB, free: 3.777 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.03077, allocations: 174.2 kB / 37.18 MB, free: 3.57 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.03105, allocations: 267.8 kB / 37.44 MB, free: 3.297 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.03111, allocations: 37.7 kB / 37.48 MB, free: 3.254 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.03127, allocations: 278.7 kB / 37.75 MB, free: 2.984 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 9.439e-05/0.03137, allocations: 106.9 kB / 37.86 MB, free: 2.883 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.0315, allocations: 69.67 kB / 37.93 MB, free: 2.809 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.03156, allocations: 334.8 kB / 38.25 MB, free: 2.473 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.03216, allocations: 244.7 kB / 38.49 MB, free: 2.23 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/0.03284, allocations: 356.5 kB / 38.84 MB, free: 1.836 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.03403, allocations: 0.6409 MB / 39.48 MB, free: 1.133 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.03405, allocations: 3.469 kB / 39.48 MB, free: 1.133 MB / 18.57 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001998/0.03606, allocations: 0.8605 MB / 40.34 MB, free: 264 kB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/0.03615, allocations: 87.38 kB / 40.43 MB, free: 164 kB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.03617, allocations: 0 / 40.43 MB, free: 164 kB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009278/0.04546, allocations: 298 kB / 40.72 MB, free: 6.367 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.04577, allocations: 52.53 kB / 40.77 MB, free: 6.367 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007542/0.04654, allocations: 0.7412 MB / 41.51 MB, free: 5.852 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.04691, allocations: 61.84 kB / 41.57 MB, free: 5.852 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.047, allocations: 29.44 kB / 41.6 MB, free: 5.852 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 (P1.emptying,$PRE.P1.fireOut[1],P2.outTransition[1].arcType,P1.outTransition[1].arcType,T1.activation.fed[1],T2.activation.arcType[1],T1.activation.arcType[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],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 40 * 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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004177/0.04743, allocations: 333.5 kB / 41.93 MB, free: 5.672 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.04756, allocations: 30.97 kB / 41.96 MB, free: 5.672 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.04951, allocations: 0.8289 MB / 42.79 MB, free: 5.551 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.04954, allocations: 2.297 kB / 42.79 MB, free: 5.551 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.04955, allocations: 0 / 42.79 MB, free: 5.551 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.04961, allocations: 109.7 kB / 42.9 MB, free: 5.457 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-05/0.04971, allocations: 22.27 kB / 42.92 MB, free: 5.457 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.05002, allocations: 39.91 kB / 42.96 MB, free: 5.457 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.05026, allocations: 79.91 kB / 43.04 MB, free: 5.457 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002233/0.05251, allocations: 1.029 MB / 44.06 MB, free: 4.77 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002032/0.05456, allocations: 1.172 MB / 45.24 MB, free: 3.617 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006267/0.0552, allocations: 285.2 kB / 45.51 MB, free: 3.34 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001599/0.05538, allocations: 164.1 kB / 45.68 MB, free: 3.176 MB / 18.57 MB Notification: Performance of Backend: time 5.91e-07/0.0554, allocations: 0 / 45.68 MB, free: 3.176 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.05708, allocations: 0.691 MB / 46.37 MB, free: 2.473 MB / 18.57 MB Notification: Performance of SimCode: time 0.001741/0.05884, allocations: 1.729 MB / 48.1 MB, free: 0.6797 MB / 18.57 MB Notification: Performance of Templates: time 0.02277/0.08163, allocations: 6.692 MB / 54.79 MB, free: 1.629 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test4.makefile (rm -f ConPNlib_ConPNlib.Examples.Test4.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test4.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test4.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test4.sim & ./ConPNlib_ConPNlib.Examples.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test4.pipe 2>&1)