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.008464/0.008464, allocations: 1.369 MB / 16.64 MB, free: 5.16 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.457e-05/1.477e-05, allocations: 0 / 23.7 MB, free: 3.742 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006128/0.0006478, allocations: 368.4 kB / 24.06 MB, free: 3.414 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.001757/0.002417, allocations: 1.519 MB / 25.58 MB, free: 1.895 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.004124, allocations: 0.8947 MB / 26.47 MB, free: 1 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.004372, allocations: 7.938 kB / 26.48 MB, free: 0.9922 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.00468, allocations: 107.2 kB / 26.59 MB, free: 0.8867 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000896/0.005591, allocations: 324.2 kB / 26.9 MB, free: 0.5703 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.005757, allocations: 51.95 kB / 26.95 MB, free: 0.5195 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.006394, allocations: 0.5804 MB / 27.54 MB, free: 4.578 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00054/0.006949, allocations: 302.1 kB / 27.83 MB, free: 4.273 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.007266, allocations: 222.6 kB / 28.05 MB, free: 4.055 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.007656, allocations: 254.2 kB / 28.3 MB, free: 3.805 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 7.813e-05/0.007751, allocations: 24 kB / 28.32 MB, free: 3.781 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.008245, allocations: 231.6 kB / 28.55 MB, free: 3.555 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.008458, allocations: 155.3 kB / 28.7 MB, free: 3.402 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.0088, allocations: 287.7 kB / 28.98 MB, free: 3.113 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.009894, allocations: 0.7749 MB / 29.75 MB, free: 2.336 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.009915, allocations: 4 kB / 29.76 MB, free: 2.332 MB / 18.57 MB Notification: Performance of FrontEnd: time 4.238e-06/0.009928, allocations: 0 / 29.76 MB, free: 2.332 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.009945, allocations: 3.938 kB / 29.76 MB, free: 2.328 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.001451/0.01141, allocations: 0.8515 MB / 30.61 MB, free: 1.418 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.01147, allocations: 12.31 kB / 30.62 MB, free: 1.406 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.01176, allocations: 76.09 kB / 30.7 MB, free: 1.332 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007568/0.01253, allocations: 427.8 kB / 31.12 MB, free: 0.875 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.01264, allocations: 70.36 kB / 31.19 MB, free: 0.8047 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.01283, allocations: 88.36 kB / 31.27 MB, free: 0.7188 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.02382, allocations: 1.216 MB / 32.49 MB, free: 7.051 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.02389, allocations: 8.719 kB / 32.5 MB, free: 7.051 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.02401, allocations: 40.25 kB / 32.53 MB, free: 7.051 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.0242, allocations: 77.36 kB / 32.61 MB, free: 7.051 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.02597, allocations: 0.8755 MB / 33.49 MB, free: 6.918 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.0295, allocations: 2.434 MB / 35.92 MB, free: 4.871 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.03058, allocations: 0.5863 MB / 36.51 MB, free: 4.258 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.03124, allocations: 369.4 kB / 36.87 MB, free: 3.895 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/0.03198, allocations: 1.028 MB / 37.89 MB, free: 2.648 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.03201, allocations: 38.89 kB / 37.93 MB, free: 2.602 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 3.667e-06/0.03203, allocations: 0 / 37.93 MB, free: 2.602 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.004251/0.03629, allocations: 1.436 MB / 39.37 MB, free: 1.133 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/0.03639, allocations: 223.8 kB / 39.59 MB, free: 0.8711 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.03677, allocations: 310.8 kB / 39.89 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.03683, allocations: 41.69 kB / 39.93 MB, free: 0.5156 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.03706, allocations: 332.9 kB / 40.26 MB, free: 200 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.03719, allocations: 141.9 kB / 40.39 MB, free: 64 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.03724, allocations: 12 kB / 40.41 MB, free: 52 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.009235/0.04649, allocations: 342.8 kB / 40.74 MB, free: 6.086 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008822/0.04739, allocations: 314.6 kB / 41.05 MB, free: 6.086 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/0.0482, allocations: 460.7 kB / 41.5 MB, free: 5.941 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.04941, allocations: 0.7761 MB / 42.27 MB, free: 5.695 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.04943, allocations: 3.625 kB / 42.28 MB, free: 5.695 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002116/0.05156, allocations: 1.071 MB / 43.35 MB, free: 5.203 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.678e-05/0.05165, allocations: 87.09 kB / 43.43 MB, free: 5.113 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.05167, allocations: 4 kB / 43.44 MB, free: 5.109 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/0.05422, allocations: 435.9 kB / 43.86 MB, free: 4.766 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.05456, allocations: 75.84 kB / 43.94 MB, free: 4.691 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007538/0.05533, allocations: 0.7891 MB / 44.73 MB, free: 3.891 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.05574, allocations: 83.77 kB / 44.81 MB, free: 3.836 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/0.05583, allocations: 39.98 kB / 44.85 MB, free: 3.797 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004939/0.05634, allocations: 391.7 kB / 45.23 MB, free: 3.402 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.05645, allocations: 42.3 kB / 45.27 MB, free: 3.375 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.05861, allocations: 1.043 MB / 46.31 MB, free: 2.324 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/0.05866, allocations: 11.98 kB / 46.33 MB, free: 2.312 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.05867, allocations: 0 / 46.33 MB, free: 2.312 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.05869, allocations: 0 / 46.33 MB, free: 2.312 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.07032, allocations: 1.67 MB / 48 MB, free: 5.605 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.07037, allocations: 0 / 48 MB, free: 5.605 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.07066, allocations: 49.8 kB / 48.04 MB, free: 5.605 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.07203, allocations: 342.4 kB / 48.38 MB, free: 5.598 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.07211, allocations: 16.84 kB / 48.4 MB, free: 5.598 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007748/0.0729, allocations: 0.807 MB / 49.2 MB, free: 5.082 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.07291, allocations: 3.75 kB / 49.21 MB, free: 5.082 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.07545, allocations: 1.426 MB / 50.63 MB, free: 4.863 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.07552, allocations: 116.1 kB / 50.75 MB, free: 4.77 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/0.07564, allocations: 22.41 kB / 50.77 MB, free: 4.762 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.07599, allocations: 52.48 kB / 50.82 MB, free: 4.754 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.07628, allocations: 120.8 kB / 50.94 MB, free: 4.727 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/0.07636, allocations: 31.78 kB / 50.97 MB, free: 4.723 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002064/0.07658, allocations: 193.8 kB / 51.16 MB, free: 4.613 MB / 18.57 MB Notification: Performance of sort global known variables: time 2.2e-07/0.07659, allocations: 0 / 51.16 MB, free: 4.613 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0008155/0.07741, allocations: 239.1 kB / 51.39 MB, free: 4.418 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003486/0.07777, allocations: 202.8 kB / 51.59 MB, free: 4.242 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.07943, allocations: 0.9614 MB / 52.55 MB, free: 3.34 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.07945, allocations: 3.938 kB / 52.55 MB, free: 3.34 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0008804/0.08034, allocations: 0.5697 MB / 53.12 MB, free: 2.754 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.08093, allocations: 61.19 kB / 53.18 MB, free: 2.695 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.08352, allocations: 1.698 MB / 54.88 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009286/0.09282, allocations: 1.01 MB / 55.89 MB, free: 4.648 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0004065/0.09325, allocations: 130 kB / 56.02 MB, free: 4.641 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.09338, allocations: 42.02 kB / 56.06 MB, free: 4.641 MB / 18.57 MB Notification: Performance of SimCode: time 1.072e-06/0.0934, allocations: 3.5 kB / 56.06 MB, free: 4.641 MB / 18.57 MB Notification: Performance of Templates: time 0.01758/0.111, allocations: 8.106 MB / 64.17 MB, free: 4.52 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)