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.005194/0.005194, allocations: 1.357 MB / 17.29 MB, free: 4.527 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.323e-05/1.327e-05, allocations: 0 / 24.35 MB, free: 3.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000395/0.0004249, allocations: 366.6 kB / 24.71 MB, free: 2.773 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.0009052/0.00134, allocations: 1.012 MB / 25.72 MB, free: 1.762 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002361, allocations: 0.6907 MB / 26.41 MB, free: 1.066 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.002541, allocations: 4.75 kB / 26.42 MB, free: 1.062 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.002717, allocations: 63.58 kB / 26.48 MB, free: 1 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.003278, allocations: 238.4 kB / 26.71 MB, free: 0.7695 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.089e-05/0.00337, allocations: 35.95 kB / 26.75 MB, free: 0.7344 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.003613, allocations: 331 kB / 27.07 MB, free: 420 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.003793, allocations: 149.8 kB / 27.22 MB, free: 264 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.003888, allocations: 127.2 kB / 27.34 MB, free: 136 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.004023, allocations: 135.1 kB / 27.47 MB, free: 0 / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.00408, allocations: 12.05 kB / 27.49 MB, free: 4.629 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.004387, allocations: 215.6 kB / 27.7 MB, free: 4.422 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.004519, allocations: 79.61 kB / 27.77 MB, free: 4.344 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.004653, allocations: 164.7 kB / 27.94 MB, free: 4.176 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.005035, allocations: 383.3 kB / 28.31 MB, free: 3.801 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005046, allocations: 0 / 28.31 MB, free: 3.801 MB / 18.57 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005053, allocations: 4 kB / 28.31 MB, free: 3.797 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.005063, allocations: 0 / 28.31 MB, free: 3.797 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006782/0.005746, allocations: 0.602 MB / 28.92 MB, free: 3.137 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.005786, allocations: 8.969 kB / 28.92 MB, free: 3.129 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.005866, allocations: 44.47 kB / 28.97 MB, free: 3.086 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.006202, allocations: 303.7 kB / 29.26 MB, free: 2.75 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.006251, allocations: 46.23 kB / 29.31 MB, free: 2.707 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.00632, allocations: 44.38 kB / 29.35 MB, free: 2.664 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009111/0.007237, allocations: 0.6407 MB / 29.99 MB, free: 2.004 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.007259, allocations: 192 / 29.99 MB, free: 2.004 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.00731, allocations: 29.7 kB / 30.02 MB, free: 1.977 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-05/0.00738, allocations: 40.97 kB / 30.06 MB, free: 1.938 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.008075, allocations: 455.7 kB / 30.51 MB, free: 1.492 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006707/0.01479, allocations: 1.499 MB / 32.01 MB, free: 6.965 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.01531, allocations: 356.2 kB / 32.35 MB, free: 6.848 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.01554, allocations: 183.5 kB / 32.53 MB, free: 6.84 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.01585, allocations: 0.5898 MB / 33.12 MB, free: 6.184 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.01588, allocations: 37.86 kB / 33.16 MB, free: 6.145 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 2.505e-06/0.01589, allocations: 1.188 kB / 33.16 MB, free: 6.145 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0008466/0.01674, allocations: 0.5307 MB / 33.69 MB, free: 6.082 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.0168, allocations: 147.5 kB / 33.84 MB, free: 5.926 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.01696, allocations: 228.9 kB / 34.06 MB, free: 5.812 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.01699, allocations: 27.95 kB / 34.09 MB, free: 5.781 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.01708, allocations: 220 kB / 34.3 MB, free: 5.648 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.01713, allocations: 76.91 kB / 34.38 MB, free: 5.605 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.01715, allocations: 6.344 kB / 34.38 MB, free: 5.605 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.01721, allocations: 331.2 kB / 34.71 MB, free: 5.293 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.01743, allocations: 163.4 kB / 34.87 MB, free: 5.289 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.01768, allocations: 256.2 kB / 35.12 MB, free: 5.18 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.0181, allocations: 411.5 kB / 35.52 MB, free: 4.934 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01812, allocations: 2.781 kB / 35.52 MB, free: 4.934 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006366/0.01876, allocations: 0.5306 MB / 36.05 MB, free: 4.484 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.0188, allocations: 49.69 kB / 36.1 MB, free: 4.43 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01881, allocations: 0 / 36.1 MB, free: 4.43 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.01884, allocations: 4 kB / 36.1 MB, free: 4.426 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.019, allocations: 51.84 kB / 36.16 MB, free: 4.375 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.01902, allocations: 7.828 kB / 36.16 MB, free: 4.371 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.01917, allocations: 59.78 kB / 36.22 MB, free: 4.312 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.01921, allocations: 19.94 kB / 36.24 MB, free: 4.293 MB / 18.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.01939, allocations: 250.2 kB / 36.48 MB, free: 4.035 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.01944, allocations: 23.72 kB / 36.51 MB, free: 4.012 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/0.02007, allocations: 477 kB / 36.97 MB, free: 3.547 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.0201, allocations: 11.92 kB / 36.99 MB, free: 3.535 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.02011, allocations: 0 / 36.99 MB, free: 3.535 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.02012, allocations: 0 / 36.99 MB, free: 3.535 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009246/0.02105, allocations: 0.9191 MB / 37.9 MB, free: 2.562 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02106, allocations: 0.625 kB / 37.91 MB, free: 2.562 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.0212, allocations: 39.91 kB / 37.94 MB, free: 2.523 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.02121, allocations: 0 / 37.94 MB, free: 2.523 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.02124, allocations: 12 kB / 37.96 MB, free: 2.512 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.02125, allocations: 5.375 kB / 37.96 MB, free: 2.508 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.02125, allocations: 0 / 37.96 MB, free: 2.508 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.02204, allocations: 0.7084 MB / 38.67 MB, free: 1.777 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.02208, allocations: 100.8 kB / 38.77 MB, free: 1.66 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.02213, allocations: 19.92 kB / 38.79 MB, free: 1.641 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.02227, allocations: 31.75 kB / 38.82 MB, free: 1.613 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.02239, allocations: 55.94 kB / 38.87 MB, free: 1.559 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.02242, allocations: 11.98 kB / 38.88 MB, free: 1.547 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.87e-05/0.02251, allocations: 149.7 kB / 39.03 MB, free: 1.402 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02251, allocations: 0 / 39.03 MB, free: 1.402 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003847/0.0229, allocations: 150.3 kB / 39.18 MB, free: 1.262 MB / 18.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000224/0.02313, allocations: 176.5 kB / 39.35 MB, free: 1.094 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005625/0.0237, allocations: 493.2 kB / 39.83 MB, free: 0.6055 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02372, allocations: 0 / 39.83 MB, free: 0.6055 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.02398, allocations: 261.2 kB / 40.09 MB, free: 348 kB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.0243, allocations: 43.86 kB / 40.13 MB, free: 308 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006418/0.03072, allocations: 0.9314 MB / 41.06 MB, free: 6.094 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.03097, allocations: 0.8368 MB / 41.9 MB, free: 5.395 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.0311, allocations: 56.95 kB / 41.95 MB, free: 5.387 MB / 18.57 MB Notification: Performance of SimCode: time 3.61e-07/0.03111, allocations: 3.75 kB / 41.96 MB, free: 5.387 MB / 18.57 MB Notification: Performance of Templates: time 0.006349/0.03746, allocations: 5.196 MB / 47.15 MB, free: 1.5 MB / 18.57 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)