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.005442/0.005442, allocations: 1.367 MB / 16.61 MB, free: 4.809 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.31e-05/1.312e-05, allocations: 0 / 23.66 MB, free: 3.672 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004313/0.0004588, allocations: 363 kB / 24.01 MB, free: 3.355 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.001133/0.0016, allocations: 1.554 MB / 25.56 MB, free: 1.801 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.002849, allocations: 0.9104 MB / 26.48 MB, free: 0.8906 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.003035, allocations: 7.938 kB / 26.48 MB, free: 0.8828 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.003287, allocations: 111.2 kB / 26.59 MB, free: 0.7734 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006366/0.003934, allocations: 314.2 kB / 26.9 MB, free: 480 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.004057, allocations: 55.94 kB / 26.95 MB, free: 424 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.004491, allocations: 0.5803 MB / 27.53 MB, free: 4.477 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.004843, allocations: 302.3 kB / 27.83 MB, free: 4.168 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.005066, allocations: 222.6 kB / 28.05 MB, free: 3.949 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.005298, allocations: 258.2 kB / 28.3 MB, free: 3.695 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/0.00536, allocations: 20 kB / 28.32 MB, free: 3.676 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.005684, allocations: 235.6 kB / 28.55 MB, free: 3.445 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.005825, allocations: 151.3 kB / 28.7 MB, free: 3.297 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.006024, allocations: 262 kB / 28.95 MB, free: 3.039 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.00077/0.006801, allocations: 0.7865 MB / 29.74 MB, free: 2.246 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.006814, allocations: 0 / 29.74 MB, free: 2.246 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.693e-06/0.006823, allocations: 4 kB / 29.74 MB, free: 2.242 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.006836, allocations: 0 / 29.74 MB, free: 2.242 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.0009426/0.007784, allocations: 0.8387 MB / 30.58 MB, free: 1.344 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.007823, allocations: 12.31 kB / 30.59 MB, free: 1.332 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.007956, allocations: 80.09 kB / 30.67 MB, free: 1.254 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.008436, allocations: 431.8 kB / 31.09 MB, free: 0.793 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.39e-05/0.008508, allocations: 70.36 kB / 31.16 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.008625, allocations: 88.36 kB / 31.25 MB, free: 0.6367 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/0.01539, allocations: 1.217 MB / 32.46 MB, free: 7.074 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.01545, allocations: 3.656 kB / 32.47 MB, free: 7.074 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.01553, allocations: 37.27 kB / 32.5 MB, free: 7.074 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.01565, allocations: 78.02 kB / 32.58 MB, free: 7.074 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.01676, allocations: 0.8823 MB / 33.46 MB, free: 6.879 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.01903, allocations: 2.422 MB / 35.88 MB, free: 4.781 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.01968, allocations: 0.5805 MB / 36.47 MB, free: 4.176 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.02007, allocations: 377.3 kB / 36.83 MB, free: 3.805 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/0.02056, allocations: 1.034 MB / 37.87 MB, free: 2.555 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.02059, allocations: 44.88 kB / 37.91 MB, free: 2.504 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 3.316e-06/0.0206, allocations: 0 / 37.91 MB, free: 2.504 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.002535/0.02314, allocations: 1.427 MB / 39.34 MB, free: 1.043 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.02321, allocations: 223.8 kB / 39.56 MB, free: 0.7812 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.02345, allocations: 314.1 kB / 39.86 MB, free: 480 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.02349, allocations: 45.3 kB / 39.91 MB, free: 432 kB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.02363, allocations: 327.1 kB / 40.23 MB, free: 108 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.005399/0.02903, allocations: 135.5 kB / 40.36 MB, free: 6.18 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.02915, allocations: 87.83 kB / 40.45 MB, free: 6.164 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.02922, allocations: 343.2 kB / 40.78 MB, free: 5.852 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.02967, allocations: 321.6 kB / 41.09 MB, free: 5.852 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.03014, allocations: 448.9 kB / 41.53 MB, free: 5.707 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007535/0.0309, allocations: 0.7821 MB / 42.32 MB, free: 5.449 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.03091, allocations: 0.9062 kB / 42.32 MB, free: 5.449 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001282/0.0322, allocations: 1.075 MB / 43.39 MB, free: 5.062 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.03227, allocations: 85.12 kB / 43.47 MB, free: 4.988 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.03228, allocations: 8.406 kB / 43.48 MB, free: 4.988 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.03391, allocations: 437.9 kB / 43.91 MB, free: 4.633 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.03412, allocations: 72.59 kB / 43.98 MB, free: 4.562 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000497/0.03462, allocations: 0.7877 MB / 44.77 MB, free: 3.762 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.03487, allocations: 92.61 kB / 44.86 MB, free: 3.703 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.03493, allocations: 32.62 kB / 44.89 MB, free: 3.672 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 ('P1'.emptying,$PRE.'P1'.fireOut[1],'P3'.feeding,$PRE.'P3'.fireIn[1],'P2'.outTransition[1].arcType,'P1'.outTransition[1].arcType,'T1'.activation.fed[1],'T2'.activation.emptied[1],'T2'.activation.arcType[1],'T1'.activation.arcType[1],'P3'.fireIn[1],'T2'.activation.weaklyOutputActiveVec[1],'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.active,'T2'.activation.fed[1],'P2'.fireOut[1],$PRE.'P2'.fireOut[1],'P2'.fireIn[1],$PRE.'P2'.fireIn[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'T1'.activation.emptied[1],'P1'.fireOut[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.0003068/0.03524, allocations: 391.6 kB / 45.27 MB, free: 3.273 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.03532, allocations: 41.5 kB / 45.31 MB, free: 3.25 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.0367, allocations: 1.045 MB / 46.36 MB, free: 2.199 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.03673, allocations: 9.859 kB / 46.37 MB, free: 2.191 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.03674, allocations: 4 kB / 46.37 MB, free: 2.188 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.03675, allocations: 7.922 kB / 46.38 MB, free: 2.18 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006388/0.04315, allocations: 1.661 MB / 48.04 MB, free: 5.387 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.04317, allocations: 3.312 kB / 48.04 MB, free: 5.387 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.04334, allocations: 43.7 kB / 48.09 MB, free: 5.387 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008554/0.0442, allocations: 344.9 kB / 48.42 MB, free: 5.379 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.04425, allocations: 22.62 kB / 48.45 MB, free: 5.379 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005027/0.04476, allocations: 0.8036 MB / 49.25 MB, free: 4.863 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.04477, allocations: 3.75 kB / 49.25 MB, free: 4.863 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.04638, allocations: 1.427 MB / 50.68 MB, free: 4.586 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.04644, allocations: 112.6 kB / 50.79 MB, free: 4.488 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.04654, allocations: 28.84 kB / 50.82 MB, free: 4.48 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.04677, allocations: 42.47 kB / 50.86 MB, free: 4.477 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.04698, allocations: 120.8 kB / 50.98 MB, free: 4.449 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.04703, allocations: 23.77 kB / 51 MB, free: 4.445 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001367/0.04717, allocations: 196.9 kB / 51.19 MB, free: 4.336 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.31e-07/0.04718, allocations: 0 / 51.19 MB, free: 4.336 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005157/0.0477, allocations: 236.5 kB / 51.42 MB, free: 4.309 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.0002598/0.04797, allocations: 209.9 kB / 51.63 MB, free: 4.145 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.04903, allocations: 0.9682 MB / 52.6 MB, free: 3.211 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.04904, allocations: 0 / 52.6 MB, free: 3.211 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.04958, allocations: 0.5694 MB / 53.17 MB, free: 2.629 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.04995, allocations: 67.31 kB / 53.23 MB, free: 2.566 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.05168, allocations: 1.683 MB / 54.91 MB, free: 0.8633 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006176/0.05787, allocations: 1.013 MB / 55.93 MB, free: 4.426 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.000246/0.05814, allocations: 126.4 kB / 56.05 MB, free: 4.418 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.05822, allocations: 48.52 kB / 56.1 MB, free: 4.418 MB / 18.57 MB Notification: Performance of SimCode: time 4.51e-07/0.05822, allocations: 0 / 56.1 MB, free: 4.418 MB / 18.57 MB Notification: Performance of Templates: time 0.0172/0.07543, allocations: 8.126 MB / 64.22 MB, free: 3.965 MB / 18.57 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)