Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") translateModel(ConPNlib.Examples.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005105/0.005106, allocations: 1.374 MB / 16.98 MB, free: 5.168 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.787e-06, allocations: 0 / 23.87 MB, free: 3.957 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003027/0.0003261, allocations: 361.1 kB / 24.23 MB, free: 3.652 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.0009784/0.001312, allocations: 1.409 MB / 25.63 MB, free: 2.242 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009158/0.002237, allocations: 0.8361 MB / 26.47 MB, free: 1.402 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.002393, allocations: 11.88 kB / 26.48 MB, free: 1.391 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.002577, allocations: 99.88 kB / 26.58 MB, free: 1.293 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.003126, allocations: 296.3 kB / 26.87 MB, free: 1.004 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.146e-05/0.003228, allocations: 54.25 kB / 26.92 MB, free: 0.9531 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.003579, allocations: 0.557 MB / 27.48 MB, free: 404 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.003831, allocations: 261.7 kB / 27.73 MB, free: 124 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.004012, allocations: 226.8 kB / 27.96 MB, free: 4.539 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.004236, allocations: 238.4 kB / 28.19 MB, free: 4.305 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.004296, allocations: 28 kB / 28.22 MB, free: 4.277 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.004588, allocations: 207.6 kB / 28.42 MB, free: 4.074 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.004718, allocations: 135.4 kB / 28.55 MB, free: 3.941 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 8.927e-05/0.004814, allocations: 121.3 kB / 28.67 MB, free: 3.816 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.00534, allocations: 0.6082 MB / 29.28 MB, free: 3.211 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.00535, allocations: 0 / 29.28 MB, free: 3.211 MB / 18.57 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005356, allocations: 0 / 29.28 MB, free: 3.211 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.005367, allocations: 0 / 29.28 MB, free: 3.211 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.0008897/0.006261, allocations: 0.8537 MB / 30.13 MB, free: 2.297 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.006296, allocations: 8.297 kB / 30.14 MB, free: 2.289 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.006417, allocations: 80.02 kB / 30.22 MB, free: 2.211 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.006901, allocations: 427.8 kB / 30.64 MB, free: 1.754 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.00697, allocations: 70.27 kB / 30.7 MB, free: 1.684 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.007093, allocations: 95.7 kB / 30.8 MB, free: 1.594 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.008795, allocations: 1.211 MB / 32.01 MB, free: 368 kB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.008823, allocations: 176 / 32.01 MB, free: 368 kB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.008901, allocations: 40.33 kB / 32.05 MB, free: 328 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.009026, allocations: 85.83 kB / 32.13 MB, free: 240 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005848/0.01488, allocations: 0.8671 MB / 33 MB, free: 7.375 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.01716, allocations: 2.421 MB / 35.42 MB, free: 5.852 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.01785, allocations: 0.5828 MB / 36 MB, free: 5.285 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/0.0183, allocations: 377.3 kB / 36.37 MB, free: 4.914 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005058/0.01881, allocations: 1.025 MB / 37.4 MB, free: 3.668 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.01884, allocations: 38.89 kB / 37.43 MB, free: 3.621 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/0.01885, allocations: 0 / 37.43 MB, free: 3.621 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.002692/0.02155, allocations: 1.43 MB / 38.86 MB, free: 2.16 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.02162, allocations: 219.8 kB / 39.08 MB, free: 1.902 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.02185, allocations: 314.1 kB / 39.39 MB, free: 1.59 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.0219, allocations: 39.97 kB / 39.42 MB, free: 1.547 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.02203, allocations: 337 kB / 39.75 MB, free: 1.223 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.02211, allocations: 137.2 kB / 39.89 MB, free: 1.09 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.02215, allocations: 17.39 kB / 39.9 MB, free: 1.074 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.02222, allocations: 342.8 kB / 40.24 MB, free: 0.7305 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.02262, allocations: 320.9 kB / 40.55 MB, free: 424 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005663/0.02829, allocations: 449.3 kB / 40.99 MB, free: 5.996 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.0288, allocations: 381.7 kB / 41.36 MB, free: 5.93 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.02881, allocations: 2.438 kB / 41.37 MB, free: 5.93 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001344/0.03016, allocations: 1.075 MB / 42.44 MB, free: 5.816 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.03024, allocations: 79.3 kB / 42.52 MB, free: 5.754 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.03025, allocations: 3.844 kB / 42.52 MB, free: 5.754 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.03198, allocations: 438.7 kB / 42.95 MB, free: 5.746 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.0322, allocations: 73.31 kB / 43.02 MB, free: 5.738 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005224/0.03273, allocations: 0.7896 MB / 43.81 MB, free: 5.168 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.033, allocations: 88.62 kB / 43.9 MB, free: 5.117 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.03306, allocations: 31.75 kB / 43.93 MB, free: 5.09 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.'P1'.fireOut[1],'P1'.emptying,$PRE.'P3'.fireIn[1],'P3'.feeding,'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],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'T1'.activation.arcType[1],'T2'.activation.arcType[1],'T2'.activation.emptied[1],'T1'.activation.fed[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 (56): * Single equations (assignments): 53 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003538/0.03342, allocations: 395.5 kB / 44.32 MB, free: 4.73 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.03349, allocations: 35.38 kB / 44.35 MB, free: 4.711 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.0349, allocations: 1.052 MB / 45.4 MB, free: 3.672 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.03494, allocations: 8 kB / 45.41 MB, free: 3.664 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.03495, allocations: 2.188 kB / 45.41 MB, free: 3.664 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.03496, allocations: 3.984 kB / 45.42 MB, free: 3.66 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.03663, allocations: 1.681 MB / 47.1 MB, free: 1.934 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.03665, allocations: 1.969 kB / 47.1 MB, free: 1.934 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.03681, allocations: 43.97 kB / 47.14 MB, free: 1.891 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008469/0.03767, allocations: 332.6 kB / 47.47 MB, free: 1.562 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.03772, allocations: 24.61 kB / 47.49 MB, free: 1.539 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005137/0.03824, allocations: 0.8032 MB / 48.29 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.03825, allocations: 0 / 48.29 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006953/0.04521, allocations: 1.421 MB / 49.72 MB, free: 5.832 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.04527, allocations: 112 kB / 49.82 MB, free: 5.738 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.04535, allocations: 26.33 kB / 49.85 MB, free: 5.738 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.04557, allocations: 42.23 kB / 49.89 MB, free: 5.738 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.04575, allocations: 123.3 kB / 50.01 MB, free: 5.738 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.0458, allocations: 28.08 kB / 50.04 MB, free: 5.738 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001245/0.04593, allocations: 195.5 kB / 50.23 MB, free: 5.66 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.51e-07/0.04594, allocations: 0 / 50.23 MB, free: 5.66 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005055/0.04645, allocations: 241.6 kB / 50.47 MB, free: 5.648 MB / 18.57 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: 14 ('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],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'P3'.feeding) * Number of discrete states: 10 ('P1'.fireOut[1],'P2'.fireIn[1],'T2'.activation.weaklyOutputActiveVec[1],'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.active,'P2'.fireOut[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'P3'.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002446/0.0467, allocations: 198.7 kB / 50.66 MB, free: 5.559 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.04781, allocations: 0.9669 MB / 51.63 MB, free: 4.922 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.04783, allocations: 2.812 kB / 51.63 MB, free: 4.922 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.04838, allocations: 0.5537 MB / 52.18 MB, free: 4.41 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.04874, allocations: 58.19 kB / 52.24 MB, free: 4.359 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.05047, allocations: 1.662 MB / 53.9 MB, free: 2.703 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.05077, allocations: 0.9984 MB / 54.9 MB, free: 1.691 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/0.05087, allocations: 51.34 kB / 54.95 MB, free: 1.645 MB / 18.57 MB Notification: Performance of SimCode: time 4.61e-07/0.05088, allocations: 0 / 54.95 MB, free: 1.645 MB / 18.57 MB Notification: Performance of Templates: time 0.01742/0.0683, allocations: 11.67 MB / 66.62 MB, free: 1.906 MB / 24.77 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test11.makefile (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & ./ConPNlib_ConPNlib.Examples.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)