Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") translateModel(ConPNlib.Examples.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.0054/0.0054, allocations: 1.375 MB / 16.98 MB, free: 5.145 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.428e-05, allocations: 0 / 23.87 MB, free: 3.93 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005367/0.0005702, allocations: 367.5 kB / 24.23 MB, free: 3.633 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test4): time 0.001015/0.001597, allocations: 1.152 MB / 25.38 MB, free: 2.48 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.00272, allocations: 0.7338 MB / 26.12 MB, free: 1.742 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.002985, allocations: 9.75 kB / 26.13 MB, free: 1.734 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.003199, allocations: 83.38 kB / 26.21 MB, free: 1.652 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006669/0.003875, allocations: 251.7 kB / 26.45 MB, free: 1.406 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.004014, allocations: 45.16 kB / 26.5 MB, free: 1.363 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.004433, allocations: 466.6 kB / 26.95 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.004685, allocations: 197.8 kB / 27.15 MB, free: 0.7031 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.004874, allocations: 180.5 kB / 27.32 MB, free: 0.5273 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.00506, allocations: 186.8 kB / 27.5 MB, free: 352 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.005118, allocations: 20 kB / 27.52 MB, free: 332 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.005396, allocations: 207.6 kB / 27.73 MB, free: 124 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 8.083e-05/0.005486, allocations: 107.5 kB / 27.83 MB, free: 16 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.005597, allocations: 97.5 kB / 27.93 MB, free: 4.555 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.006146, allocations: 0.4951 MB / 28.42 MB, free: 4.062 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.00616, allocations: 0 / 28.42 MB, free: 4.062 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006167, allocations: 0 / 28.42 MB, free: 4.062 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.006185, allocations: 0 / 28.42 MB, free: 4.062 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.0009473/0.007137, allocations: 0.7402 MB / 29.16 MB, free: 3.266 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.007179, allocations: 8.297 kB / 29.17 MB, free: 3.258 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.007319, allocations: 60.2 kB / 29.23 MB, free: 3.199 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.007795, allocations: 370.1 kB / 29.59 MB, free: 2.801 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.007861, allocations: 53.59 kB / 29.64 MB, free: 2.746 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/0.007962, allocations: 72.27 kB / 29.71 MB, free: 2.676 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.009476, allocations: 0.9343 MB / 30.65 MB, free: 1.727 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.009505, allocations: 176 / 30.65 MB, free: 1.727 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.009575, allocations: 40.11 kB / 30.69 MB, free: 1.688 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.192e-05/0.009673, allocations: 61.27 kB / 30.75 MB, free: 1.629 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.01074, allocations: 0.6609 MB / 31.41 MB, free: 0.9648 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008333/0.01908, allocations: 1.773 MB / 33.18 MB, free: 6.5 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.01978, allocations: 485 kB / 33.65 MB, free: 6.379 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.02013, allocations: 280.1 kB / 33.93 MB, free: 6.371 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/0.0206, allocations: 0.8631 MB / 34.79 MB, free: 5.434 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/0.02063, allocations: 34.12 kB / 34.82 MB, free: 5.395 MB / 18.57 MB Notification: Performance of pre-optimization done (n=33): time 3.326e-06/0.02064, allocations: 3.438 kB / 34.83 MB, free: 5.395 MB / 18.57 MB Notification: Performance of matching and sorting (n=33): time 0.002026/0.02268, allocations: 1.132 MB / 35.96 MB, free: 4.875 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.02275, allocations: 175 kB / 36.13 MB, free: 4.676 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.02299, allocations: 275 kB / 36.4 MB, free: 4.48 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.02303, allocations: 36.86 kB / 36.43 MB, free: 4.445 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.02316, allocations: 275.6 kB / 36.7 MB, free: 4.215 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.073e-05/0.02324, allocations: 107.2 kB / 36.81 MB, free: 4.133 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.02327, allocations: 14.75 kB / 36.82 MB, free: 4.125 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.02333, allocations: 339 kB / 37.15 MB, free: 3.785 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.02365, allocations: 244.7 kB / 37.39 MB, free: 3.543 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.02401, allocations: 352.5 kB / 37.74 MB, free: 3.152 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.0244, allocations: 311.6 kB / 38.04 MB, free: 2.84 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.02442, allocations: 0 / 38.04 MB, free: 2.84 MB / 18.57 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001033/0.02545, allocations: 0.8597 MB / 38.9 MB, free: 1.973 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.02552, allocations: 79.38 kB / 38.98 MB, free: 1.883 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.02554, allocations: 8.344 kB / 38.99 MB, free: 1.875 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009101/0.02645, allocations: 254.1 kB / 39.23 MB, free: 1.625 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.02663, allocations: 51.92 kB / 39.29 MB, free: 1.574 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004752/0.02711, allocations: 0.7444 MB / 40.03 MB, free: 0.8086 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.02735, allocations: 74.58 kB / 40.1 MB, free: 0.7422 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.02741, allocations: 27.98 kB / 40.13 MB, free: 0.7148 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.P1.fireOut[1],P1.emptying,P2.outTransition[1].arcType,P1.outTransition[1].arcType,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T1.activation.arcType[1],T2.activation.arcType[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 (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003194/0.02773, allocations: 341.8 kB / 40.46 MB, free: 368 kB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.0278, allocations: 31.66 kB / 40.49 MB, free: 340 kB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007588/0.0354, allocations: 0.8392 MB / 41.33 MB, free: 6.605 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/0.03548, allocations: 11.45 kB / 41.35 MB, free: 6.605 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.0355, allocations: 6.688 kB / 41.35 MB, free: 6.605 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.03551, allocations: 0 / 41.35 MB, free: 6.605 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.03739, allocations: 1.372 MB / 42.72 MB, free: 6.199 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.03741, allocations: 0 / 42.72 MB, free: 6.199 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.03755, allocations: 33.98 kB / 42.76 MB, free: 6.195 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007234/0.03828, allocations: 274.4 kB / 43.03 MB, free: 6.145 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.03833, allocations: 9.625 kB / 43.03 MB, free: 6.141 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004739/0.03881, allocations: 0.7723 MB / 43.81 MB, free: 5.484 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.03882, allocations: 2.125 kB / 43.81 MB, free: 5.484 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.04013, allocations: 1.158 MB / 44.97 MB, free: 4.32 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.04022, allocations: 104.1 kB / 45.07 MB, free: 4.219 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.04029, allocations: 17.09 kB / 45.09 MB, free: 4.203 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.04048, allocations: 43.42 kB / 45.13 MB, free: 4.164 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.04064, allocations: 83.89 kB / 45.21 MB, free: 4.082 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.04069, allocations: 20.94 kB / 45.23 MB, free: 4.062 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001151/0.04081, allocations: 171.8 kB / 45.4 MB, free: 3.895 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04082, allocations: 1.781 kB / 45.4 MB, free: 3.895 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004969/0.04132, allocations: 198.9 kB / 45.59 MB, free: 3.715 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: 11 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1]) * Number of discrete states: 8 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002849/0.04161, allocations: 192.2 kB / 45.78 MB, free: 3.543 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0009331/0.04255, allocations: 0.7524 MB / 46.53 MB, free: 2.781 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.04257, allocations: 0 / 46.53 MB, free: 2.781 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.04302, allocations: 451 kB / 46.97 MB, free: 2.316 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.04336, allocations: 36.67 kB / 47.01 MB, free: 2.277 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007797/0.05117, allocations: 1.285 MB / 48.3 MB, free: 5.785 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.05158, allocations: 0.9174 MB / 49.21 MB, free: 5.086 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.05169, allocations: 34.48 kB / 49.25 MB, free: 5.082 MB / 18.57 MB Notification: Performance of SimCode: time 5.11e-07/0.05169, allocations: 3.828 kB / 49.25 MB, free: 5.082 MB / 18.57 MB Notification: Performance of Templates: time 0.01739/0.06909, allocations: 9.236 MB / 58.49 MB, free: 3.668 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test4.makefile (rm -f ConPNlib_ConPNlib.Examples.Test4.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test4.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test4.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test4.sim & ./ConPNlib_ConPNlib.Examples.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test4.pipe 2>&1)