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.01549/0.01549, allocations: 1.366 MB / 16.33 MB, free: 4.926 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.892e-05, allocations: 4 kB / 23.24 MB, free: 4.121 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007108/0.000752, allocations: 359.1 kB / 23.59 MB, free: 3.922 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.001705/0.002473, allocations: 1.408 MB / 25 MB, free: 2.543 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.004295, allocations: 0.8306 MB / 25.83 MB, free: 1.711 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.004698, allocations: 12.38 kB / 25.84 MB, free: 1.699 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.005059, allocations: 107.2 kB / 25.94 MB, free: 1.594 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.006099, allocations: 297.9 kB / 26.24 MB, free: 1.305 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.006295, allocations: 51.89 kB / 26.29 MB, free: 1.254 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0006849/0.006994, allocations: 0.557 MB / 26.84 MB, free: 0.6953 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004372/0.007444, allocations: 261.7 kB / 27.1 MB, free: 428 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.007739, allocations: 222.7 kB / 27.32 MB, free: 204 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.008072, allocations: 242.4 kB / 27.55 MB, free: 4.605 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 9.845e-05/0.008186, allocations: 24 kB / 27.58 MB, free: 4.582 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.008676, allocations: 211.6 kB / 27.78 MB, free: 4.375 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.008893, allocations: 139.4 kB / 27.92 MB, free: 4.238 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.009056, allocations: 117.3 kB / 28.03 MB, free: 4.117 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0008798/0.009946, allocations: 0.6005 MB / 28.63 MB, free: 3.516 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.009966, allocations: 3.984 kB / 28.64 MB, free: 3.512 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.393e-06/0.009976, allocations: 0 / 28.64 MB, free: 3.512 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.01, allocations: 0 / 28.64 MB, free: 3.512 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.001436/0.01145, allocations: 0.8458 MB / 29.48 MB, free: 2.605 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.0115, allocations: 12.3 kB / 29.5 MB, free: 2.594 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.01173, allocations: 80.02 kB / 29.57 MB, free: 2.516 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008024/0.01255, allocations: 431.2 kB / 30 MB, free: 2.059 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.974e-05/0.01266, allocations: 70.33 kB / 30.06 MB, free: 1.988 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.01287, allocations: 88.33 kB / 30.15 MB, free: 1.902 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.01566, allocations: 1.219 MB / 31.37 MB, free: 0.6602 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.0157, allocations: 176 / 31.37 MB, free: 0.6602 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.01584, allocations: 40.33 kB / 31.41 MB, free: 0.6211 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.01605, allocations: 85.81 kB / 31.49 MB, free: 0.5352 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009435/0.0255, allocations: 0.864 MB / 32.36 MB, free: 7.457 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/0.02901, allocations: 2.423 MB / 34.78 MB, free: 5.961 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009565/0.03, allocations: 0.5878 MB / 35.37 MB, free: 5.492 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.03045, allocations: 373.4 kB / 35.73 MB, free: 5.125 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005657/0.03103, allocations: 1.025 MB / 36.76 MB, free: 3.879 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.03106, allocations: 38.89 kB / 36.79 MB, free: 3.832 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 3.757e-06/0.03107, allocations: 4 kB / 36.8 MB, free: 3.828 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.0029/0.03398, allocations: 1.429 MB / 38.23 MB, free: 2.367 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.03406, allocations: 219.8 kB / 38.44 MB, free: 2.109 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.03435, allocations: 310.2 kB / 38.74 MB, free: 1.801 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.0344, allocations: 40.12 kB / 38.78 MB, free: 1.758 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.03456, allocations: 330.9 kB / 39.11 MB, free: 1.438 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/0.03466, allocations: 144.2 kB / 39.25 MB, free: 1.301 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.0347, allocations: 15.94 kB / 39.26 MB, free: 1.285 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.03477, allocations: 342.8 kB / 39.6 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.0352, allocations: 320.9 kB / 39.91 MB, free: 0.625 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.03566, allocations: 448.3 kB / 40.35 MB, free: 136 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007287/0.04296, allocations: 380.2 kB / 40.72 MB, free: 6.156 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.04299, allocations: 1.312 kB / 40.72 MB, free: 6.156 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001479/0.04448, allocations: 1.078 MB / 41.8 MB, free: 6.047 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.04457, allocations: 85.27 kB / 41.88 MB, free: 5.977 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.04459, allocations: 3.969 kB / 41.89 MB, free: 5.977 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.04658, allocations: 435.7 kB / 42.31 MB, free: 5.945 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.04682, allocations: 79.98 kB / 42.39 MB, free: 5.934 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005751/0.0474, allocations: 0.7855 MB / 43.18 MB, free: 5.219 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.04769, allocations: 84.77 kB / 43.26 MB, free: 5.172 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.04776, allocations: 31.66 kB / 43.29 MB, free: 5.145 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.0004016/0.04817, allocations: 400.3 kB / 43.68 MB, free: 4.781 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.04824, allocations: 39.78 kB / 43.72 MB, free: 4.762 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.04972, allocations: 1.048 MB / 44.77 MB, free: 3.73 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/0.04976, allocations: 8 kB / 44.78 MB, free: 3.723 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.04977, allocations: 2.312 kB / 44.78 MB, free: 3.723 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.04978, allocations: 7.984 kB / 44.79 MB, free: 3.715 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.05155, allocations: 1.675 MB / 46.46 MB, free: 2 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.05156, allocations: 0 / 46.46 MB, free: 2 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.05173, allocations: 43.92 kB / 46.5 MB, free: 1.957 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008642/0.0526, allocations: 340.5 kB / 46.84 MB, free: 1.621 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.05265, allocations: 22.25 kB / 46.86 MB, free: 1.602 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005273/0.05318, allocations: 0.8032 MB / 47.66 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.0532, allocations: 0 / 47.66 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007655/0.06086, allocations: 1.42 MB / 49.08 MB, free: 5.973 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.06094, allocations: 110.2 kB / 49.19 MB, free: 5.879 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.06102, allocations: 26.67 kB / 49.21 MB, free: 5.879 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.06124, allocations: 54.42 kB / 49.27 MB, free: 5.879 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.06143, allocations: 120.1 kB / 49.38 MB, free: 5.848 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.06149, allocations: 25.62 kB / 49.41 MB, free: 5.844 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001296/0.06162, allocations: 196.3 kB / 49.6 MB, free: 5.738 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06163, allocations: 0 / 49.6 MB, free: 5.738 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005188/0.06215, allocations: 238.5 kB / 49.83 MB, free: 5.707 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.000265/0.06243, allocations: 199.2 kB / 50.03 MB, free: 5.609 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.06356, allocations: 0.9737 MB / 51 MB, free: 4.902 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.06357, allocations: 0 / 51 MB, free: 4.902 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.000578/0.06416, allocations: 0.5579 MB / 51.56 MB, free: 4.375 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.06453, allocations: 56.78 kB / 51.62 MB, free: 4.316 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.06639, allocations: 1.653 MB / 53.27 MB, free: 2.672 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.06673, allocations: 1.016 MB / 54.29 MB, free: 1.633 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.06697, allocations: 125.8 kB / 54.41 MB, free: 1.516 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.06704, allocations: 35.42 kB / 54.44 MB, free: 1.484 MB / 18.57 MB Notification: Performance of SimCode: time 4.41e-07/0.06705, allocations: 0 / 54.44 MB, free: 1.484 MB / 18.57 MB Notification: Performance of Templates: time 0.01729/0.08435, allocations: 7.947 MB / 62.39 MB, free: 5.656 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)