Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") translateModel(ConPNlib.Examples.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01693/0.01693, allocations: 1.358 MB / 16.31 MB, free: 5.352 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.762e-05, allocations: 0 / 23.22 MB, free: 4.039 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000792/0.0008364, allocations: 353.5 kB / 23.56 MB, free: 3.887 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test12): time 0.002123/0.002983, allocations: 1.687 MB / 25.25 MB, free: 2.383 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.005394, allocations: 0.931 MB / 26.18 MB, free: 1.449 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005619/0.006007, allocations: 7.938 kB / 26.19 MB, free: 1.441 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.006553, allocations: 155 kB / 26.34 MB, free: 1.289 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.008295, allocations: 356.1 kB / 26.69 MB, free: 0.9414 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.008843, allocations: 80.64 kB / 26.77 MB, free: 0.8633 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0009709/0.009835, allocations: 492.2 kB / 27.25 MB, free: 392 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005956/0.01046, allocations: 322 kB / 27.56 MB, free: 60 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005993/0.01109, allocations: 262.6 kB / 27.82 MB, free: 4.441 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005136/0.01163, allocations: 286.3 kB / 28.1 MB, free: 4.16 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.01178, allocations: 28 kB / 28.13 MB, free: 4.133 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005826/0.01237, allocations: 191.6 kB / 28.31 MB, free: 3.949 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.01267, allocations: 163.3 kB / 28.47 MB, free: 3.789 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.0129, allocations: 137.3 kB / 28.61 MB, free: 3.648 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.01426, allocations: 0.7175 MB / 29.32 MB, free: 2.93 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.01431, allocations: 0 / 29.32 MB, free: 2.93 MB / 18.57 MB Notification: Performance of FrontEnd: time 3.216e-06/0.01432, allocations: 4 kB / 29.33 MB, free: 2.926 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.01435, allocations: 0 / 29.33 MB, free: 2.926 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.002023/0.01638, allocations: 0.9608 MB / 30.29 MB, free: 1.895 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 8.6e-05/0.01648, allocations: 8.297 kB / 30.3 MB, free: 1.887 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.01688, allocations: 103.7 kB / 30.4 MB, free: 1.785 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.0181, allocations: 482.2 kB / 30.87 MB, free: 1.277 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.01829, allocations: 86.34 kB / 30.95 MB, free: 1.191 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.01859, allocations: 112.2 kB / 31.06 MB, free: 1.082 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01727/0.03587, allocations: 1.467 MB / 32.53 MB, free: 4.508 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/0.03597, allocations: 7.016 kB / 32.54 MB, free: 4.508 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.03612, allocations: 50.83 kB / 32.59 MB, free: 4.508 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002459/0.03638, allocations: 97.66 kB / 32.68 MB, free: 4.508 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002974/0.03936, allocations: 1.06 MB / 33.74 MB, free: 4.5 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008483/0.04789, allocations: 2.886 MB / 36.63 MB, free: 2.684 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.05044, allocations: 0.7533 MB / 37.38 MB, free: 2.039 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007791/0.05127, allocations: 0.8655 MB / 38.25 MB, free: 0.9922 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.05134, allocations: 42.41 kB / 38.29 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of pre-optimization done (n=52): time 4.138e-06/0.05135, allocations: 0 / 38.29 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of matching and sorting (n=52): time 0.006268/0.05763, allocations: 1.911 MB / 40.2 MB, free: 5.148 MB / 24.78 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/0.05792, allocations: 246.1 kB / 40.44 MB, free: 4.859 MB / 24.78 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/0.05859, allocations: 358.8 kB / 40.79 MB, free: 4.5 MB / 24.78 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.05872, allocations: 41.7 kB / 40.83 MB, free: 4.453 MB / 24.78 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.05917, allocations: 392.2 kB / 41.21 MB, free: 4.074 MB / 24.78 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.05945, allocations: 169.5 kB / 41.38 MB, free: 3.91 MB / 24.78 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.05954, allocations: 16 kB / 41.39 MB, free: 3.895 MB / 24.78 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.05973, allocations: 352.6 kB / 41.74 MB, free: 3.543 MB / 24.78 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/0.06218, allocations: 380 kB / 42.11 MB, free: 3.168 MB / 24.78 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.06392, allocations: 0.5301 MB / 42.64 MB, free: 2.582 MB / 24.78 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.06607, allocations: 474.7 kB / 43.1 MB, free: 2.102 MB / 24.78 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.06615, allocations: 0 / 43.1 MB, free: 2.102 MB / 24.78 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.006662/0.07283, allocations: 1.293 MB / 44.4 MB, free: 0.8047 MB / 24.78 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002834/0.07317, allocations: 121.1 kB / 44.51 MB, free: 0.668 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.07323, allocations: 4 kB / 44.52 MB, free: 0.6641 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004551/0.07779, allocations: 415.5 kB / 44.92 MB, free: 264 kB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.07839, allocations: 82.95 kB / 45.01 MB, free: 188 kB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02543/0.1039, allocations: 0.896 MB / 45.9 MB, free: 8.617 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.105, allocations: 105.1 kB / 46 MB, free: 8.617 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.1053, allocations: 38.36 kB / 46.04 MB, free: 8.617 MB / 24.78 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T3.outPlaces[1].enabledByInPlaces,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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001288/0.1066, allocations: 467.6 kB / 46.5 MB, free: 8.406 MB / 24.78 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.1069, allocations: 44.97 kB / 46.54 MB, free: 8.406 MB / 24.78 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0051/0.112, allocations: 1.259 MB / 47.8 MB, free: 8.262 MB / 24.78 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-05/0.1122, allocations: 15.55 kB / 47.82 MB, free: 8.262 MB / 24.78 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.1122, allocations: 3.719 kB / 47.82 MB, free: 8.262 MB / 24.78 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.1122, allocations: 1.453 kB / 47.82 MB, free: 8.262 MB / 24.78 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/0.1193, allocations: 2.002 MB / 49.82 MB, free: 7.582 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.1194, allocations: 4 kB / 49.83 MB, free: 7.578 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.12, allocations: 43.88 kB / 49.87 MB, free: 7.547 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/0.1231, allocations: 396.2 kB / 50.26 MB, free: 7.203 MB / 24.78 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.1234, allocations: 31.09 kB / 50.29 MB, free: 7.184 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.1254, allocations: 0.9314 MB / 51.22 MB, free: 6.34 MB / 24.78 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.1255, allocations: 4 kB / 51.22 MB, free: 6.336 MB / 24.78 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006577/0.1321, allocations: 1.723 MB / 52.95 MB, free: 4.684 MB / 24.78 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.1323, allocations: 126.2 kB / 53.07 MB, free: 4.566 MB / 24.78 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/0.1327, allocations: 33.77 kB / 53.1 MB, free: 4.535 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008713/0.1336, allocations: 55.09 kB / 53.16 MB, free: 4.484 MB / 24.78 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006768/0.1343, allocations: 140.2 kB / 53.29 MB, free: 4.348 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.1345, allocations: 35.98 kB / 53.33 MB, free: 4.312 MB / 24.78 MB Notification: Performance of sorting global known variables: time 0.0004852/0.135, allocations: 209.9 kB / 53.53 MB, free: 4.105 MB / 24.78 MB Notification: Performance of sort global known variables: time 1.132e-06/0.135, allocations: 0 / 53.53 MB, free: 4.105 MB / 24.78 MB Notification: Performance of remove unused functions: time 0.001709/0.1368, allocations: 271.4 kB / 53.8 MB, free: 3.859 MB / 24.78 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00086/0.1377, allocations: 214.3 kB / 54.01 MB, free: 3.66 MB / 24.78 MB Notification: Performance of simCode: created initialization part: time 0.004454/0.1422, allocations: 1.182 MB / 55.19 MB, free: 2.461 MB / 24.78 MB Notification: Performance of simCode: created event and clocks part: time 9.589e-06/0.1423, allocations: 4 kB / 55.19 MB, free: 2.457 MB / 24.78 MB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.1447, allocations: 0.7037 MB / 55.9 MB, free: 1.73 MB / 24.78 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.1456, allocations: 50.91 kB / 55.95 MB, free: 1.676 MB / 24.78 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/0.1723, allocations: 1.949 MB / 57.9 MB, free: 8.395 MB / 24.78 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.1734, allocations: 1.114 MB / 59.01 MB, free: 7.695 MB / 24.78 MB Notification: Performance of simCode: alias equations: time 0.0008119/0.1743, allocations: 150.7 kB / 59.16 MB, free: 7.691 MB / 24.78 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.1746, allocations: 45.3 kB / 59.2 MB, free: 7.691 MB / 24.78 MB Notification: Performance of SimCode: time 1.492e-06/0.1746, allocations: 0 / 59.2 MB, free: 7.691 MB / 24.78 MB Notification: Performance of Templates: time 0.06067/0.2353, allocations: 9.436 MB / 68.64 MB, free: 7.434 MB / 24.78 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test12.makefile (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & ./ConPNlib_ConPNlib.Examples.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)