Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01565/0.01565, allocations: 1.365 MB / 16.33 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.1e-05/1.111e-05, allocations: 0 / 23.23 MB, free: 4.027 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006141/0.0006469, allocations: 358.9 kB / 23.58 MB, free: 3.875 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.001611/0.002272, allocations: 1.408 MB / 24.99 MB, free: 2.656 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.004006, allocations: 0.8342 MB / 25.83 MB, free: 1.82 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000409/0.004434, allocations: 12.59 kB / 25.84 MB, free: 1.809 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.004738, allocations: 103.2 kB / 25.94 MB, free: 1.707 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0009755/0.005727, allocations: 293.9 kB / 26.23 MB, free: 1.422 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.005915, allocations: 55.92 kB / 26.28 MB, free: 1.367 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.006583, allocations: 0.5608 MB / 26.84 MB, free: 0.8047 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004289/0.007024, allocations: 264 kB / 27.1 MB, free: 0.5234 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.007301, allocations: 226.7 kB / 27.32 MB, free: 308 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.007567, allocations: 226.4 kB / 27.54 MB, free: 80 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 9.012e-05/0.007669, allocations: 24 kB / 27.57 MB, free: 56 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.008205, allocations: 211.7 kB / 27.77 MB, free: 4.492 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.008421, allocations: 135.3 kB / 27.91 MB, free: 4.359 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.008592, allocations: 125.3 kB / 28.03 MB, free: 4.23 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0009618/0.009564, allocations: 0.5927 MB / 28.62 MB, free: 3.637 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.009586, allocations: 0 / 28.62 MB, free: 3.637 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.896e-06/0.009599, allocations: 0 / 28.62 MB, free: 3.637 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.064e-05/0.009642, allocations: 4 kB / 28.62 MB, free: 3.633 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.001674/0.01132, allocations: 0.8458 MB / 29.47 MB, free: 2.727 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.01139, allocations: 12.3 kB / 29.48 MB, free: 2.715 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.0117, allocations: 76.02 kB / 29.56 MB, free: 2.641 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/0.01263, allocations: 421 kB / 29.97 MB, free: 2.191 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.01275, allocations: 66.33 kB / 30.03 MB, free: 2.125 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.01299, allocations: 92.31 kB / 30.12 MB, free: 2.035 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.0161, allocations: 1.211 MB / 31.33 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.01617, allocations: 176 / 31.33 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.0163, allocations: 40.33 kB / 31.37 MB, free: 0.7617 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.01647, allocations: 81.89 kB / 31.45 MB, free: 0.6797 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008287/0.02477, allocations: 0.8639 MB / 32.32 MB, free: 7.703 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.02783, allocations: 2.563 MB / 34.88 MB, free: 5.902 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.0286, allocations: 0.6331 MB / 35.51 MB, free: 5.473 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/0.02901, allocations: 356.2 kB / 35.86 MB, free: 5.16 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.02933, allocations: 0.5959 MB / 36.46 MB, free: 4.438 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.02936, allocations: 46.8 kB / 36.5 MB, free: 4.383 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 2.234e-06/0.02937, allocations: 0.6562 kB / 36.5 MB, free: 4.383 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.001322/0.03069, allocations: 0.9984 MB / 37.5 MB, free: 3.375 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.03077, allocations: 212.2 kB / 37.71 MB, free: 3.125 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.03103, allocations: 322.2 kB / 38.02 MB, free: 2.801 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.03107, allocations: 37.7 kB / 38.06 MB, free: 2.758 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.03121, allocations: 336.2 kB / 38.39 MB, free: 2.434 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/0.0313, allocations: 135 kB / 38.52 MB, free: 2.305 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.03133, allocations: 15 kB / 38.54 MB, free: 2.293 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.03139, allocations: 354.8 kB / 38.88 MB, free: 1.938 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.0318, allocations: 300.9 kB / 39.18 MB, free: 1.645 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.03227, allocations: 450 kB / 39.62 MB, free: 1.141 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.03275, allocations: 379.8 kB / 39.99 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.03276, allocations: 0 / 39.99 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007668/0.04044, allocations: 0.9778 MB / 40.96 MB, free: 6.312 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.466e-05/0.04052, allocations: 88.19 kB / 41.05 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.04054, allocations: 5.031 kB / 41.05 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.04057, allocations: 6.875 kB / 41.06 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.04085, allocations: 96.66 kB / 41.16 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.04087, allocations: 8.547 kB / 41.16 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.04117, allocations: 88.52 kB / 41.25 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.04124, allocations: 40.7 kB / 41.29 MB, free: 6.25 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[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 (65): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 2 * 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.0003462/0.04159, allocations: 389.4 kB / 41.67 MB, free: 6.074 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.04168, allocations: 39.34 kB / 41.71 MB, free: 6.074 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.04279, allocations: 0.8644 MB / 42.57 MB, free: 5.855 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.04283, allocations: 11.41 kB / 42.58 MB, free: 5.855 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.04284, allocations: 4.531 kB / 42.59 MB, free: 5.855 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.04285, allocations: 3.703 kB / 42.59 MB, free: 5.855 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.04445, allocations: 1.544 MB / 44.14 MB, free: 4.648 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.04447, allocations: 4 kB / 44.14 MB, free: 4.645 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.04468, allocations: 54.44 kB / 44.19 MB, free: 4.594 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.0447, allocations: 0 / 44.19 MB, free: 4.594 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.04474, allocations: 22.89 kB / 44.22 MB, free: 4.574 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.04475, allocations: 6.344 kB / 44.22 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.04475, allocations: 0 / 44.22 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.04614, allocations: 1.265 MB / 45.49 MB, free: 3.305 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.0462, allocations: 121.3 kB / 45.61 MB, free: 3.188 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.04627, allocations: 16 kB / 45.62 MB, free: 3.172 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.04648, allocations: 51.67 kB / 45.67 MB, free: 3.125 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.04666, allocations: 107.9 kB / 45.78 MB, free: 3.02 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.04672, allocations: 29.11 kB / 45.81 MB, free: 2.992 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001402/0.04686, allocations: 201.5 kB / 46 MB, free: 2.801 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04687, allocations: 0 / 46 MB, free: 2.801 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005482/0.04742, allocations: 236.1 kB / 46.23 MB, free: 2.602 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.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 3 * Algorithm blocks: 2 * 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.0002679/0.0477, allocations: 200.9 kB / 46.43 MB, free: 2.418 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0009963/0.0487, allocations: 0.9096 MB / 47.34 MB, free: 1.484 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.04872, allocations: 0 / 47.34 MB, free: 1.484 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.0492, allocations: 0.522 MB / 47.86 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.04958, allocations: 60.42 kB / 47.92 MB, free: 0.8867 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007449/0.05704, allocations: 1.627 MB / 49.55 MB, free: 5.816 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.0574, allocations: 1.008 MB / 50.55 MB, free: 5.121 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003351/0.05774, allocations: 197.8 kB / 50.75 MB, free: 5.109 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.05787, allocations: 65.25 kB / 50.81 MB, free: 5.102 MB / 18.57 MB Notification: Performance of SimCode: time 6.61e-07/0.05787, allocations: 0 / 50.81 MB, free: 5.102 MB / 18.57 MB Notification: Performance of Templates: time 0.0228/0.08068, allocations: 6.26 MB / 57.07 MB, free: 4.867 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test8.makefile (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & ./ConPNlib_ConPNlib.Examples.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)