Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005488/0.005488, allocations: 1.362 MB / 17.27 MB, free: 4.562 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.314e-05/1.318e-05, allocations: 0 / 24.32 MB, free: 3.16 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003177/0.0003462, allocations: 360.8 kB / 24.67 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test2): time 0.0006803/0.001034, allocations: 0.7491 MB / 25.42 MB, free: 2.082 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0007547/0.0018, allocations: 0.6079 MB / 26.03 MB, free: 1.473 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.001885, allocations: 0 / 26.03 MB, free: 1.473 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.002039, allocations: 47.66 kB / 26.08 MB, free: 1.426 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.002456, allocations: 187.4 kB / 26.26 MB, free: 1.246 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 5.879e-05/0.002526, allocations: 23.98 kB / 26.28 MB, free: 1.223 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.002694, allocations: 219.4 kB / 26.5 MB, free: 1.008 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.002815, allocations: 79.2 kB / 26.57 MB, free: 0.9219 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.00289, allocations: 91.48 kB / 26.66 MB, free: 0.832 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 9.334e-05/0.00299, allocations: 87.36 kB / 26.75 MB, free: 0.7461 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.003021, allocations: 8 kB / 26.76 MB, free: 0.7383 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.003187, allocations: 131.8 kB / 26.89 MB, free: 0.6094 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.003246, allocations: 55.77 kB / 26.94 MB, free: 0.5547 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.003308, allocations: 79.47 kB / 27.02 MB, free: 488 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.003546, allocations: 299.1 kB / 27.31 MB, free: 188 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003556, allocations: 0 / 27.31 MB, free: 188 kB / 13.93 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003562, allocations: 0 / 27.31 MB, free: 188 kB / 13.93 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.003571, allocations: 0 / 27.31 MB, free: 188 kB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0005003/0.004076, allocations: 0.4893 MB / 27.8 MB, free: 4.285 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.004119, allocations: 8.312 kB / 27.81 MB, free: 4.277 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.004186, allocations: 28.66 kB / 27.84 MB, free: 4.25 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.004439, allocations: 246.1 kB / 28.08 MB, free: 3.973 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.004475, allocations: 24.88 kB / 28.1 MB, free: 3.949 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.004529, allocations: 28.36 kB / 28.13 MB, free: 3.922 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.00508, allocations: 368.1 kB / 28.49 MB, free: 3.547 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.005103, allocations: 1.969 kB / 28.49 MB, free: 3.547 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.005135, allocations: 7.938 kB / 28.5 MB, free: 3.539 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.005183, allocations: 24.55 kB / 28.52 MB, free: 3.516 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.005596, allocations: 250 kB / 28.76 MB, free: 3.273 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.006715, allocations: 0.864 MB / 29.63 MB, free: 2.32 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.007098, allocations: 154.5 kB / 29.78 MB, free: 2.16 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.007306, allocations: 100.8 kB / 29.88 MB, free: 2.059 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/0.007696, allocations: 429.5 kB / 30.3 MB, free: 1.547 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.007741, allocations: 38.5 kB / 30.34 MB, free: 1.5 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.007751, allocations: 0 / 30.34 MB, free: 1.5 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.0007773/0.008535, allocations: 341.8 kB / 30.67 MB, free: 1.156 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.008616, allocations: 110.8 kB / 30.78 MB, free: 1.023 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.008791, allocations: 166.1 kB / 30.94 MB, free: 0.8477 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.00883, allocations: 37.69 kB / 30.98 MB, free: 0.8047 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.008943, allocations: 148.1 kB / 31.12 MB, free: 0.6523 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.009, allocations: 47.36 kB / 31.17 MB, free: 0.6055 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.009063, allocations: 33.7 kB / 31.2 MB, free: 0.5664 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.009187, allocations: 330.8 kB / 31.52 MB, free: 240 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.009398, allocations: 88.14 kB / 31.61 MB, free: 152 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/0.01476, allocations: 145.7 kB / 31.75 MB, free: 7.352 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.01514, allocations: 254.4 kB / 32 MB, free: 7.25 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01516, allocations: 1.438 kB / 32 MB, free: 7.25 MB / 18.57 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004719/0.01563, allocations: 339.2 kB / 32.33 MB, free: 7.188 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.01568, allocations: 39.83 kB / 32.37 MB, free: 7.156 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01569, allocations: 1.656 kB / 32.37 MB, free: 7.156 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01571, allocations: 1.469 kB / 32.37 MB, free: 7.156 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.01585, allocations: 33.39 kB / 32.41 MB, free: 7.156 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.01587, allocations: 2.953 kB / 32.41 MB, free: 7.156 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.01597, allocations: 40.52 kB / 32.45 MB, free: 7.156 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.01601, allocations: 8.344 kB / 32.46 MB, free: 7.156 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (P1.emptying,$PRE.P1.fireOut[1],P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.arcType[1],P1.fireOut[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 1 * 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.0001506/0.01616, allocations: 214.5 kB / 32.67 MB, free: 7.012 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.01621, allocations: 7.344 kB / 32.67 MB, free: 7.012 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.01671, allocations: 328.6 kB / 33 MB, free: 6.941 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01672, allocations: 4.781 kB / 33 MB, free: 6.941 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01673, allocations: 1.5 kB / 33 MB, free: 6.941 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.01676, allocations: 81.55 kB / 33.08 MB, free: 6.848 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.0168, allocations: 11.69 kB / 33.09 MB, free: 6.848 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.01692, allocations: 22.19 kB / 33.11 MB, free: 6.848 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.01701, allocations: 30.92 kB / 33.14 MB, free: 6.848 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004629/0.01748, allocations: 428.8 kB / 33.56 MB, free: 6.648 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005974/0.01809, allocations: 0.5641 MB / 34.13 MB, free: 6.371 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001422/0.01824, allocations: 112.4 kB / 34.24 MB, free: 6.309 MB / 18.57 MB Notification: Performance of sorting global known variables: time 5.079e-05/0.0183, allocations: 120.5 kB / 34.35 MB, free: 6.199 MB / 18.57 MB Notification: Performance of Backend: time 7.51e-07/0.01831, allocations: 0 / 34.35 MB, free: 6.199 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006155/0.01893, allocations: 334.1 kB / 34.68 MB, free: 5.895 MB / 18.57 MB Notification: Performance of SimCode: time 0.0006218/0.01956, allocations: 0.9544 MB / 35.64 MB, free: 4.887 MB / 18.57 MB Notification: Performance of Templates: time 0.005154/0.02473, allocations: 2.936 MB / 38.57 MB, free: 1.988 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test2.makefile (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & ./ConPNlib_ConPNlib.Examples.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)