Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") translateModel(ConPNlib.Examples.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01581/0.01581, allocations: 1.366 MB / 16.33 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.281e-05/1.293e-05, allocations: 0 / 23.23 MB, free: 4.035 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000586/0.0006189, allocations: 361 kB / 23.59 MB, free: 3.879 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.0008797/0.001509, allocations: 0.9378 MB / 24.52 MB, free: 3.125 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009684/0.002492, allocations: 0.6422 MB / 25.17 MB, free: 2.48 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.002699, allocations: 7.938 kB / 25.17 MB, free: 2.473 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.002877, allocations: 63.52 kB / 25.24 MB, free: 2.41 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.003547, allocations: 221.2 kB / 25.45 MB, free: 2.195 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.017e-05/0.003649, allocations: 27.97 kB / 25.48 MB, free: 2.168 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.003915, allocations: 315 kB / 25.79 MB, free: 1.859 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.004091, allocations: 149.9 kB / 25.93 MB, free: 1.699 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.004205, allocations: 119.3 kB / 26.05 MB, free: 1.582 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.004341, allocations: 127.1 kB / 26.17 MB, free: 1.457 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.004381, allocations: 12 kB / 26.19 MB, free: 1.445 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.004652, allocations: 203.6 kB / 26.38 MB, free: 1.246 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.004723, allocations: 63.69 kB / 26.45 MB, free: 1.184 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.004784, allocations: 81.52 kB / 26.53 MB, free: 1.098 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.005106, allocations: 379.3 kB / 26.9 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005118, allocations: 4 kB / 26.9 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005124, allocations: 0 / 26.9 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.005138, allocations: 4 kB / 26.9 MB, free: 0.7188 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.0006339/0.005777, allocations: 0.5981 MB / 27.5 MB, free: 68 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.005818, allocations: 8.297 kB / 27.51 MB, free: 60 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.957e-05/0.005914, allocations: 44.39 kB / 27.55 MB, free: 16 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.006328, allocations: 303.4 kB / 27.85 MB, free: 4.344 MB / 18.59 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.006404, allocations: 37.33 kB / 27.89 MB, free: 4.309 MB / 18.59 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.006484, allocations: 48.34 kB / 27.93 MB, free: 4.262 MB / 18.59 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.007577, allocations: 0.6368 MB / 28.57 MB, free: 3.605 MB / 18.59 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.007607, allocations: 4.172 kB / 28.57 MB, free: 3.602 MB / 18.59 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.007655, allocations: 20.12 kB / 28.59 MB, free: 3.582 MB / 18.59 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.914e-05/0.00773, allocations: 40.97 kB / 28.63 MB, free: 3.543 MB / 18.59 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.008477, allocations: 459.7 kB / 29.08 MB, free: 3.094 MB / 18.59 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.01055, allocations: 1.499 MB / 30.58 MB, free: 1.465 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.01113, allocations: 355.9 kB / 30.93 MB, free: 1.09 MB / 18.59 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.01145, allocations: 184.9 kB / 31.11 MB, free: 0.9062 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004714/0.01193, allocations: 0.5895 MB / 31.7 MB, free: 192 kB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.01197, allocations: 42.5 kB / 31.74 MB, free: 140 kB / 18.59 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.01198, allocations: 0 / 31.74 MB, free: 140 kB / 18.59 MB Notification: Performance of matching and sorting (n=22): time 0.006837/0.01882, allocations: 0.5243 MB / 32.27 MB, free: 7.949 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.0189, allocations: 145.9 kB / 32.41 MB, free: 7.793 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.0191, allocations: 222.2 kB / 32.63 MB, free: 7.68 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.01914, allocations: 34.3 kB / 32.66 MB, free: 7.648 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.01928, allocations: 220.7 kB / 32.87 MB, free: 7.508 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.01938, allocations: 71.77 kB / 32.94 MB, free: 7.469 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.01941, allocations: 8.844 kB / 32.95 MB, free: 7.469 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.01948, allocations: 336.6 kB / 33.28 MB, free: 7.156 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.01975, allocations: 161.3 kB / 33.44 MB, free: 7.152 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.02004, allocations: 241.8 kB / 33.68 MB, free: 7.027 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.02033, allocations: 199.5 kB / 33.87 MB, free: 6.938 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.02035, allocations: 0 / 33.87 MB, free: 6.938 MB / 18.59 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007031/0.02106, allocations: 0.5287 MB / 34.4 MB, free: 6.648 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.02112, allocations: 49.69 kB / 34.45 MB, free: 6.594 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.02114, allocations: 7.266 kB / 34.45 MB, free: 6.594 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.02116, allocations: 4 kB / 34.46 MB, free: 6.59 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.02135, allocations: 55.89 kB / 34.51 MB, free: 6.535 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.02137, allocations: 4 kB / 34.52 MB, free: 6.531 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.02154, allocations: 51.5 kB / 34.57 MB, free: 6.484 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.02159, allocations: 16.28 kB / 34.58 MB, free: 6.469 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.0002195/0.02181, allocations: 258.2 kB / 34.83 MB, free: 6.203 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.02187, allocations: 21.69 kB / 34.86 MB, free: 6.184 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000644/0.02252, allocations: 485.1 kB / 35.33 MB, free: 5.707 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.02255, allocations: 4 kB / 35.33 MB, free: 5.703 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.02257, allocations: 5.75 kB / 35.34 MB, free: 5.699 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.02257, allocations: 1.031 kB / 35.34 MB, free: 5.699 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/0.02349, allocations: 0.919 MB / 36.26 MB, free: 4.727 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.02351, allocations: 4 kB / 36.26 MB, free: 4.723 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.02365, allocations: 31.92 kB / 36.29 MB, free: 4.691 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.02367, allocations: 0 / 36.29 MB, free: 4.691 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.0237, allocations: 15.98 kB / 36.31 MB, free: 4.676 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.02371, allocations: 3.828 kB / 36.31 MB, free: 4.676 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.02371, allocations: 0 / 36.31 MB, free: 4.676 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.02456, allocations: 0.7084 MB / 37.02 MB, free: 3.945 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.0246, allocations: 104.8 kB / 37.12 MB, free: 3.824 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.02465, allocations: 11.98 kB / 37.14 MB, free: 3.812 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.0248, allocations: 28.05 kB / 37.16 MB, free: 3.785 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.02493, allocations: 61.61 kB / 37.22 MB, free: 3.727 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.02497, allocations: 16 kB / 37.24 MB, free: 3.711 MB / 18.59 MB Notification: Performance of sorting global known variables: time 8.025e-05/0.02505, allocations: 141.6 kB / 37.38 MB, free: 3.574 MB / 18.59 MB Notification: Performance of sort global known variables: time 1.31e-07/0.02506, allocations: 0 / 37.38 MB, free: 3.574 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0004238/0.02549, allocations: 152.2 kB / 37.53 MB, free: 3.438 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.0002395/0.02573, allocations: 182.5 kB / 37.7 MB, free: 3.266 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.0005924/0.02633, allocations: 482.1 kB / 38.18 MB, free: 2.785 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.02635, allocations: 8.438 kB / 38.18 MB, free: 2.777 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.02663, allocations: 271 kB / 38.45 MB, free: 2.504 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.02695, allocations: 40.09 kB / 38.49 MB, free: 2.469 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.02814, allocations: 0.8794 MB / 39.37 MB, free: 1.57 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.0284, allocations: 0.8599 MB / 40.23 MB, free: 0.6914 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.02861, allocations: 111.3 kB / 40.34 MB, free: 0.582 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.0287, allocations: 43.41 kB / 40.38 MB, free: 0.5391 MB / 18.59 MB Notification: Performance of SimCode: time 4.81e-07/0.0287, allocations: 0 / 40.38 MB, free: 0.5391 MB / 18.59 MB Notification: Performance of Templates: time 0.01419/0.0429, allocations: 3.97 MB / 44.35 MB, free: 4.137 MB / 18.59 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test7.makefile (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & ./ConPNlib_ConPNlib.Examples.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)