Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01753/0.01753, allocations: 1.36 MB / 16.31 MB, free: 5.359 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.599e-05, allocations: 0 / 23.21 MB, free: 4 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008276/0.0008702, allocations: 357.7 kB / 23.56 MB, free: 3.848 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.001419/0.002305, allocations: 0.9748 MB / 24.54 MB, free: 3.105 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.0038, allocations: 0.6503 MB / 25.19 MB, free: 2.457 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.00403, allocations: 3.938 kB / 25.19 MB, free: 2.453 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.004304, allocations: 79.52 kB / 25.27 MB, free: 2.375 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0009027/0.00522, allocations: 235.3 kB / 25.5 MB, free: 2.145 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.005407, allocations: 47.88 kB / 25.54 MB, free: 2.098 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.005748, allocations: 208.2 kB / 25.75 MB, free: 1.895 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.006066, allocations: 141.2 kB / 25.89 MB, free: 1.746 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.006333, allocations: 119.3 kB / 26 MB, free: 1.629 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.006715, allocations: 123.2 kB / 26.12 MB, free: 1.508 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 8.372e-05/0.006827, allocations: 12 kB / 26.13 MB, free: 1.496 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.007512, allocations: 183.7 kB / 26.31 MB, free: 1.316 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.007705, allocations: 67.75 kB / 26.38 MB, free: 1.25 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.007852, allocations: 73.52 kB / 26.45 MB, free: 1.172 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.008534, allocations: 385.4 kB / 26.83 MB, free: 0.7969 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.008557, allocations: 0 / 26.83 MB, free: 0.7969 MB / 13.93 MB Notification: Performance of FrontEnd: time 2.014e-06/0.008571, allocations: 4 kB / 26.83 MB, free: 0.793 MB / 13.93 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.008587, allocations: 0 / 26.83 MB, free: 0.793 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.000932/0.009529, allocations: 0.6098 MB / 27.44 MB, free: 132 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.009595, allocations: 8.297 kB / 27.45 MB, free: 124 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.009742, allocations: 44.39 kB / 27.49 MB, free: 80 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.01034, allocations: 295.7 kB / 27.78 MB, free: 4.41 MB / 18.59 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/0.01042, allocations: 37.33 kB / 27.82 MB, free: 4.375 MB / 18.59 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.01058, allocations: 44.33 kB / 27.86 MB, free: 4.332 MB / 18.59 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.01238, allocations: 0.6444 MB / 28.51 MB, free: 3.672 MB / 18.59 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.01246, allocations: 352 / 28.51 MB, free: 3.672 MB / 18.59 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.01255, allocations: 27.94 kB / 28.53 MB, free: 3.645 MB / 18.59 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.01269, allocations: 36.97 kB / 28.57 MB, free: 3.609 MB / 18.59 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.01409, allocations: 459.7 kB / 29.02 MB, free: 3.16 MB / 18.59 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.01754, allocations: 1.493 MB / 30.51 MB, free: 1.535 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.01863, allocations: 352 kB / 30.86 MB, free: 1.164 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/0.01944, allocations: 0.6013 MB / 31.46 MB, free: 444 kB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.01951, allocations: 42.52 kB / 31.5 MB, free: 392 kB / 18.59 MB Notification: Performance of pre-optimization done (n=22): time 3.627e-06/0.01953, allocations: 0 / 31.5 MB, free: 392 kB / 18.59 MB Notification: Performance of matching and sorting (n=22): time 0.01317/0.0327, allocations: 0.6017 MB / 32.1 MB, free: 7.688 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.03284, allocations: 144.9 kB / 32.24 MB, free: 7.531 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.03315, allocations: 222.7 kB / 32.46 MB, free: 7.418 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.0332, allocations: 32.36 kB / 32.49 MB, free: 7.387 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.03338, allocations: 221 kB / 32.71 MB, free: 7.246 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/0.03347, allocations: 69.89 kB / 32.77 MB, free: 7.207 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.03351, allocations: 9.75 kB / 32.78 MB, free: 7.207 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.0336, allocations: 328.5 kB / 33.11 MB, free: 6.895 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.03405, allocations: 168.4 kB / 33.27 MB, free: 6.891 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.03459, allocations: 244.1 kB / 33.51 MB, free: 6.805 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.03505, allocations: 201.5 kB / 33.7 MB, free: 6.758 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.03507, allocations: 3.656 kB / 33.71 MB, free: 6.758 MB / 18.59 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001509/0.03659, allocations: 0.5334 MB / 34.24 MB, free: 6.559 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 8.442e-05/0.03671, allocations: 44.55 kB / 34.29 MB, free: 6.523 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.03674, allocations: 0 / 34.29 MB, free: 6.523 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.03678, allocations: 3.781 kB / 34.29 MB, free: 6.523 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.03726, allocations: 53.12 kB / 34.34 MB, free: 6.516 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.0373, allocations: 7.656 kB / 34.35 MB, free: 6.512 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.03767, allocations: 53.89 kB / 34.4 MB, free: 6.477 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/0.03776, allocations: 17.33 kB / 34.42 MB, free: 6.461 MB / 18.59 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[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 (36): * Single equations (assignments): 33 * Array equations: 2 * Algorithm blocks: 1 * 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.0003967/0.03817, allocations: 259.2 kB / 34.67 MB, free: 6.219 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.03826, allocations: 23.77 kB / 34.69 MB, free: 6.195 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.03947, allocations: 476 kB / 35.16 MB, free: 5.758 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/0.03952, allocations: 8 kB / 35.17 MB, free: 5.75 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.03954, allocations: 0 / 35.17 MB, free: 5.75 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.03955, allocations: 3.984 kB / 35.17 MB, free: 5.746 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.04115, allocations: 0.9167 MB / 36.09 MB, free: 4.773 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.04118, allocations: 5.359 kB / 36.09 MB, free: 4.77 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.04145, allocations: 35.92 kB / 36.13 MB, free: 4.734 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-06/0.04148, allocations: 0.75 kB / 36.13 MB, free: 4.734 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.04152, allocations: 16.91 kB / 36.14 MB, free: 4.723 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.04153, allocations: 4 kB / 36.15 MB, free: 4.719 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.04155, allocations: 0.9375 kB / 36.15 MB, free: 4.719 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.04309, allocations: 0.7095 MB / 36.86 MB, free: 3.988 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.04318, allocations: 104.8 kB / 36.96 MB, free: 3.867 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.04326, allocations: 8 kB / 36.97 MB, free: 3.859 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.04354, allocations: 32.05 kB / 37 MB, free: 3.828 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.04376, allocations: 58.92 kB / 37.06 MB, free: 3.773 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.04382, allocations: 13.02 kB / 37.07 MB, free: 3.762 MB / 18.59 MB Notification: Performance of sorting global known variables: time 0.0001475/0.04397, allocations: 149.5 kB / 37.22 MB, free: 3.617 MB / 18.59 MB Notification: Performance of sort global known variables: time 3.71e-07/0.04398, allocations: 0 / 37.22 MB, free: 3.617 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0006595/0.04465, allocations: 148.1 kB / 37.36 MB, free: 3.48 MB / 18.59 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * Algorithm blocks: 1 * 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.0003743/0.04504, allocations: 183.4 kB / 37.54 MB, free: 3.309 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.04614, allocations: 480.7 kB / 38.01 MB, free: 2.828 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.04617, allocations: 0 / 38.01 MB, free: 2.828 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.0467, allocations: 274.4 kB / 38.28 MB, free: 2.551 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.04707, allocations: 32.25 kB / 38.31 MB, free: 2.52 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.04884, allocations: 0.843 MB / 39.15 MB, free: 1.652 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.04923, allocations: 0.8577 MB / 40.01 MB, free: 0.7695 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.04964, allocations: 109.5 kB / 40.12 MB, free: 0.6641 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.04979, allocations: 39.41 kB / 40.16 MB, free: 0.625 MB / 18.59 MB Notification: Performance of SimCode: time 9.92e-07/0.0498, allocations: 4 kB / 40.16 MB, free: 0.6211 MB / 18.59 MB Notification: Performance of Templates: time 0.02547/0.07528, allocations: 3.97 MB / 44.13 MB, free: 4.082 MB / 18.59 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test6.makefile (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & ./ConPNlib_ConPNlib.Examples.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)