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.005353/0.005353, allocations: 1.371 MB / 16.65 MB, free: 5.164 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.341e-05/1.351e-05, allocations: 0 / 23.7 MB, free: 3.738 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004753/0.0005055, allocations: 371.4 kB / 24.06 MB, free: 3.414 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.0008595/0.001374, allocations: 1.009 MB / 25.07 MB, free: 2.406 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009943/0.002381, allocations: 0.6938 MB / 25.77 MB, free: 1.711 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.002552, allocations: 4 kB / 25.77 MB, free: 1.707 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.002726, allocations: 63.52 kB / 25.83 MB, free: 1.645 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.003289, allocations: 232.8 kB / 26.06 MB, free: 1.418 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.337e-05/0.003385, allocations: 35.97 kB / 26.1 MB, free: 1.383 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.003646, allocations: 335.9 kB / 26.42 MB, free: 1.055 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.003816, allocations: 150.2 kB / 26.57 MB, free: 0.9023 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.003915, allocations: 127.2 kB / 26.69 MB, free: 0.7773 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.004048, allocations: 139.1 kB / 26.83 MB, free: 0.6406 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.004087, allocations: 12 kB / 26.84 MB, free: 0.6289 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.00435, allocations: 215.6 kB / 27.05 MB, free: 428 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.004425, allocations: 75.69 kB / 27.13 MB, free: 352 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 8.991e-05/0.004521, allocations: 164.6 kB / 27.29 MB, free: 180 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.00504, allocations: 0.4946 MB / 27.78 MB, free: 4.324 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.005057, allocations: 4 kB / 27.79 MB, free: 4.32 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.935e-06/0.005065, allocations: 4 kB / 27.79 MB, free: 4.316 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.005076, allocations: 0 / 27.79 MB, free: 4.316 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006488/0.00573, allocations: 0.602 MB / 28.39 MB, free: 3.656 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.005771, allocations: 8.969 kB / 28.4 MB, free: 3.648 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.005854, allocations: 44.47 kB / 28.44 MB, free: 3.605 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.006177, allocations: 303.7 kB / 28.74 MB, free: 3.27 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.006222, allocations: 34.62 kB / 28.77 MB, free: 3.238 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.006294, allocations: 52.36 kB / 28.83 MB, free: 3.188 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009305/0.007232, allocations: 0.6369 MB / 29.46 MB, free: 2.527 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.007258, allocations: 192 / 29.46 MB, free: 2.527 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.00731, allocations: 31.34 kB / 29.49 MB, free: 2.5 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.684e-05/0.007382, allocations: 36.97 kB / 29.53 MB, free: 2.465 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006945/0.008084, allocations: 459.7 kB / 29.98 MB, free: 2.016 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.009874, allocations: 1.505 MB / 31.48 MB, free: 388 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.01044, allocations: 360.1 kB / 31.83 MB, free: 0 / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00534/0.01579, allocations: 176.4 kB / 32.01 MB, free: 7.543 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003195/0.01613, allocations: 0.5932 MB / 32.6 MB, free: 6.887 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.01616, allocations: 35.05 kB / 32.63 MB, free: 6.848 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.01617, allocations: 0.5 kB / 32.63 MB, free: 6.848 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0009304/0.01711, allocations: 0.5343 MB / 33.17 MB, free: 6.785 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.01717, allocations: 148 kB / 33.31 MB, free: 6.629 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01737, allocations: 226.2 kB / 33.53 MB, free: 6.516 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.0174, allocations: 33.23 kB / 33.57 MB, free: 6.484 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.01752, allocations: 217.4 kB / 33.78 MB, free: 6.352 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.01758, allocations: 70.56 kB / 33.85 MB, free: 6.312 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.01761, allocations: 11.31 kB / 33.86 MB, free: 6.312 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.01767, allocations: 326.9 kB / 34.18 MB, free: 6 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.01795, allocations: 162 kB / 34.34 MB, free: 5.996 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.01827, allocations: 248.7 kB / 34.58 MB, free: 5.906 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.01879, allocations: 417.8 kB / 34.99 MB, free: 5.684 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.0188, allocations: 0 / 34.99 MB, free: 5.684 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007835/0.01959, allocations: 0.5471 MB / 35.53 MB, free: 5.238 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.01964, allocations: 41.69 kB / 35.58 MB, free: 5.191 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.01966, allocations: 4 kB / 35.58 MB, free: 5.188 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.01968, allocations: 4 kB / 35.58 MB, free: 5.184 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.01988, allocations: 51.91 kB / 35.63 MB, free: 5.133 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.01989, allocations: 4 kB / 35.64 MB, free: 5.129 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.02008, allocations: 51.7 kB / 35.69 MB, free: 5.078 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.02013, allocations: 16.77 kB / 35.7 MB, free: 5.062 MB / 18.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.02036, allocations: 250.8 kB / 35.95 MB, free: 4.805 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.02042, allocations: 23.75 kB / 35.97 MB, free: 4.781 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008037/0.02123, allocations: 484.2 kB / 36.45 MB, free: 4.305 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.02127, allocations: 4.656 kB / 36.45 MB, free: 4.301 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.02128, allocations: 0 / 36.45 MB, free: 4.301 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.02129, allocations: 3.984 kB / 36.45 MB, free: 4.297 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/0.02227, allocations: 0.9195 MB / 37.37 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.02228, allocations: 0 / 37.37 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.02242, allocations: 29.8 kB / 37.4 MB, free: 3.297 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.02243, allocations: 4 kB / 37.41 MB, free: 3.293 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.02246, allocations: 14.42 kB / 37.42 MB, free: 3.281 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.02247, allocations: 3.938 kB / 37.42 MB, free: 3.277 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02247, allocations: 4 kB / 37.43 MB, free: 3.273 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007857/0.02326, allocations: 0.7084 MB / 38.14 MB, free: 2.543 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.02331, allocations: 104.9 kB / 38.24 MB, free: 2.422 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.02335, allocations: 12 kB / 38.25 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.0235, allocations: 29.75 kB / 38.28 MB, free: 2.383 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.02363, allocations: 57.31 kB / 38.34 MB, free: 2.328 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.02366, allocations: 12 kB / 38.35 MB, free: 2.316 MB / 18.57 MB Notification: Performance of sorting global known variables: time 8.154e-05/0.02375, allocations: 145.6 kB / 38.49 MB, free: 2.176 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.41e-07/0.02376, allocations: 4 kB / 38.49 MB, free: 2.172 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003959/0.02416, allocations: 156.5 kB / 38.65 MB, free: 2.027 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002205/0.02438, allocations: 183.9 kB / 38.83 MB, free: 1.859 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.02497, allocations: 490.1 kB / 39.3 MB, free: 1.367 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02499, allocations: 0 / 39.3 MB, free: 1.367 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.02526, allocations: 259.2 kB / 39.56 MB, free: 1.102 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.02558, allocations: 36.3 kB / 39.59 MB, free: 1.066 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.02669, allocations: 0.9234 MB / 40.52 MB, free: 132 kB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005724/0.03243, allocations: 0.8447 MB / 41.36 MB, free: 12.08 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.0327, allocations: 111.5 kB / 41.47 MB, free: 12.07 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.03282, allocations: 46.89 kB / 41.52 MB, free: 12.06 MB / 24.96 MB Notification: Performance of SimCode: time 3.61e-07/0.03283, allocations: 0 / 41.52 MB, free: 12.06 MB / 24.96 MB Notification: Performance of Templates: time 0.006184/0.03902, allocations: 4.051 MB / 45.57 MB, free: 9.562 MB / 24.96 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)