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.009226/0.009226, allocations: 1.364 MB / 17.27 MB, free: 4.562 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.188e-05, allocations: 0 / 24.32 MB, free: 3.16 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003139/0.00034, allocations: 360.3 kB / 24.67 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.001061/0.001408, allocations: 1.556 MB / 26.23 MB, free: 1.273 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.002401, allocations: 0.9014 MB / 27.13 MB, free: 380 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.002554, allocations: 7.938 kB / 27.14 MB, free: 372 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.002754, allocations: 112 kB / 27.25 MB, free: 260 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.00332, allocations: 318 kB / 27.56 MB, free: 4.59 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.003441, allocations: 51.95 kB / 27.61 MB, free: 4.539 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.003993, allocations: 0.5842 MB / 28.19 MB, free: 3.953 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.004317, allocations: 297.4 kB / 28.48 MB, free: 3.645 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.004515, allocations: 230.6 kB / 28.71 MB, free: 3.418 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.004739, allocations: 250.2 kB / 28.95 MB, free: 3.172 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.004799, allocations: 28 kB / 28.98 MB, free: 3.145 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.005109, allocations: 223.6 kB / 29.2 MB, free: 2.926 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.005249, allocations: 151.3 kB / 29.34 MB, free: 2.777 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.005452, allocations: 262 kB / 29.6 MB, free: 2.52 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.006131, allocations: 0.7751 MB / 30.38 MB, free: 1.742 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006144, allocations: 4 kB / 30.38 MB, free: 1.738 MB / 18.57 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00615, allocations: 0 / 30.38 MB, free: 1.738 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.006161, allocations: 0 / 30.38 MB, free: 1.738 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.0007971/0.006964, allocations: 0.8473 MB / 31.23 MB, free: 0.832 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.007002, allocations: 8.312 kB / 31.23 MB, free: 0.8242 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.007124, allocations: 76.09 kB / 31.31 MB, free: 0.75 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.007638, allocations: 431.8 kB / 31.73 MB, free: 296 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.007711, allocations: 70.36 kB / 31.8 MB, free: 224 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.007822, allocations: 88.36 kB / 31.89 MB, free: 136 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006171/0.014, allocations: 1.208 MB / 33.09 MB, free: 7.332 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.01404, allocations: 4.469 kB / 33.1 MB, free: 7.332 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.01411, allocations: 36.95 kB / 33.13 MB, free: 7.332 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.964e-05/0.01422, allocations: 84 kB / 33.22 MB, free: 7.32 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.01532, allocations: 0.8655 MB / 34.08 MB, free: 6.883 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.01749, allocations: 2.569 MB / 36.65 MB, free: 4.211 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.01817, allocations: 0.635 MB / 37.29 MB, free: 3.527 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.01855, allocations: 361.5 kB / 37.64 MB, free: 3.176 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.01885, allocations: 0.5976 MB / 38.24 MB, free: 2.449 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.01888, allocations: 34.86 kB / 38.27 MB, free: 2.406 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.01889, allocations: 0 / 38.27 MB, free: 2.406 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.00132/0.02021, allocations: 0.9981 MB / 39.27 MB, free: 1.398 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.02027, allocations: 212.2 kB / 39.48 MB, free: 1.148 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.02049, allocations: 327 kB / 39.79 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.02053, allocations: 37.7 kB / 39.83 MB, free: 0.7773 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.02066, allocations: 349.4 kB / 40.17 MB, free: 452 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.395e-05/0.02074, allocations: 134.1 kB / 40.3 MB, free: 320 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.02082, allocations: 81.67 kB / 40.38 MB, free: 232 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.005209/0.02603, allocations: 346.8 kB / 40.72 MB, free: 5.957 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.02649, allocations: 298.7 kB / 41.01 MB, free: 5.957 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.02697, allocations: 452.7 kB / 41.46 MB, free: 5.793 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007664/0.02775, allocations: 0.7702 MB / 42.23 MB, free: 5.527 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.02777, allocations: 1.531 kB / 42.23 MB, free: 5.527 MB / 18.57 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001192/0.02896, allocations: 0.9861 MB / 43.21 MB, free: 5.234 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.02903, allocations: 89.41 kB / 43.3 MB, free: 5.16 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.02904, allocations: 0.6562 kB / 43.3 MB, free: 5.16 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.02907, allocations: 12.53 kB / 43.31 MB, free: 5.16 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.02932, allocations: 83.97 kB / 43.4 MB, free: 5.152 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.02934, allocations: 8.781 kB / 43.4 MB, free: 5.152 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.02959, allocations: 97.95 kB / 43.5 MB, free: 5.137 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.02965, allocations: 36.39 kB / 43.54 MB, free: 5.117 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 (P1.emptying,$PRE.P1.fireOut[2],$PRE.P1.fireOut[1],P2.feeding,$PRE.P2.fireIn[1],P3.feeding,$PRE.P3.fireIn[1],P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.emptied[1],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],P3.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.fed[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireIn[1],P1.fireOut[2],P1.fireOut[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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003072/0.02997, allocations: 388 kB / 43.91 MB, free: 4.762 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.03004, allocations: 37.5 kB / 43.95 MB, free: 4.742 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.03111, allocations: 0.8727 MB / 44.82 MB, free: 3.91 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-06/0.03113, allocations: 0 / 44.82 MB, free: 3.91 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.03113, allocations: 3.938 kB / 44.83 MB, free: 3.906 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.03118, allocations: 113.1 kB / 44.94 MB, free: 3.801 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.03125, allocations: 28.23 kB / 44.97 MB, free: 3.777 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.03146, allocations: 47.97 kB / 45.01 MB, free: 3.73 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.03166, allocations: 113.4 kB / 45.12 MB, free: 3.621 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001092/0.03276, allocations: 1.033 MB / 46.16 MB, free: 2.559 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001393/0.03417, allocations: 1.347 MB / 47.5 MB, free: 1.199 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003851/0.03456, allocations: 361.9 kB / 47.86 MB, free: 0.8477 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.005292/0.03987, allocations: 198.3 kB / 48.05 MB, free: 5.508 MB / 18.57 MB Notification: Performance of Backend: time 5.11e-07/0.03988, allocations: 0 / 48.05 MB, free: 5.508 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.04107, allocations: 0.8042 MB / 48.86 MB, free: 5.316 MB / 18.57 MB Notification: Performance of SimCode: time 0.001488/0.04257, allocations: 1.914 MB / 50.77 MB, free: 4.012 MB / 18.57 MB Notification: Performance of Templates: time 0.01619/0.05878, allocations: 7.369 MB / 58.14 MB, free: 4.352 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)