Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.0148/0.0148, allocations: 1.366 MB / 16.33 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.417e-05, allocations: 0 / 23.24 MB, free: 4.031 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008051/0.0008418, allocations: 358.5 kB / 23.59 MB, free: 3.879 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test2): time 0.001052/0.001911, allocations: 0.6891 MB / 24.27 MB, free: 3.375 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.0031, allocations: 0.5408 MB / 24.82 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.003328, allocations: 0 / 24.82 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.003518, allocations: 43.66 kB / 24.86 MB, free: 2.789 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0007155/0.004246, allocations: 177.4 kB / 25.03 MB, free: 2.617 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.004366, allocations: 23.97 kB / 25.05 MB, free: 2.594 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.004686, allocations: 207.4 kB / 25.26 MB, free: 2.391 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.004865, allocations: 74.09 kB / 25.33 MB, free: 2.312 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.005004, allocations: 87.56 kB / 25.41 MB, free: 2.227 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.00517, allocations: 83.42 kB / 25.5 MB, free: 2.145 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.005218, allocations: 8 kB / 25.5 MB, free: 2.137 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.005497, allocations: 127.8 kB / 25.63 MB, free: 2.012 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.005576, allocations: 43.77 kB / 25.67 MB, free: 1.969 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.005637, allocations: 57.58 kB / 25.73 MB, free: 1.906 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.005951, allocations: 223.6 kB / 25.95 MB, free: 1.688 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005966, allocations: 0 / 25.95 MB, free: 1.688 MB / 13.93 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005977, allocations: 4 kB / 25.95 MB, free: 1.684 MB / 13.93 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.005991, allocations: 0 / 25.95 MB, free: 1.684 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0005988/0.006597, allocations: 0.4889 MB / 26.44 MB, free: 1.145 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.006645, allocations: 8.297 kB / 26.45 MB, free: 1.137 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.243e-05/0.006737, allocations: 24.58 kB / 26.47 MB, free: 1.113 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.007028, allocations: 245 kB / 26.71 MB, free: 0.8359 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.007076, allocations: 24.83 kB / 26.73 MB, free: 0.8125 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.007146, allocations: 28.34 kB / 26.76 MB, free: 0.7852 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/0.007906, allocations: 360.1 kB / 27.11 MB, free: 428 kB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.007937, allocations: 4.172 kB / 27.12 MB, free: 424 kB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.007987, allocations: 16.12 kB / 27.13 MB, free: 408 kB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.995e-05/0.008057, allocations: 20.55 kB / 27.15 MB, free: 388 kB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.008638, allocations: 246.1 kB / 27.39 MB, free: 144 kB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.01034, allocations: 0.8612 MB / 28.26 MB, free: 3.836 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.01083, allocations: 162.6 kB / 28.41 MB, free: 3.668 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.01107, allocations: 96.81 kB / 28.51 MB, free: 3.57 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004233/0.0115, allocations: 437.4 kB / 28.94 MB, free: 3.051 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.01156, allocations: 38.56 kB / 28.97 MB, free: 3.004 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.01157, allocations: 3 kB / 28.98 MB, free: 3.004 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.0008758/0.01245, allocations: 335.1 kB / 29.3 MB, free: 2.664 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.01255, allocations: 114.8 kB / 29.42 MB, free: 2.527 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.01275, allocations: 158.9 kB / 29.57 MB, free: 2.359 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.01279, allocations: 29.7 kB / 29.6 MB, free: 2.324 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.01294, allocations: 159.9 kB / 29.76 MB, free: 2.16 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.01302, allocations: 47.34 kB / 29.8 MB, free: 2.113 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.01305, allocations: 8 kB / 29.81 MB, free: 2.105 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.0132, allocations: 318.8 kB / 30.12 MB, free: 1.785 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.01347, allocations: 96.33 kB / 30.22 MB, free: 1.691 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.01378, allocations: 142.3 kB / 30.35 MB, free: 1.535 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.01408, allocations: 125.6 kB / 30.48 MB, free: 1.406 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01409, allocations: 0 / 30.48 MB, free: 1.406 MB / 18.57 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008083/0.01491, allocations: 335 kB / 30.8 MB, free: 1.066 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/0.01498, allocations: 45.64 kB / 30.85 MB, free: 1.016 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.01501, allocations: 4 kB / 30.85 MB, free: 1.012 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01503, allocations: 0 / 30.85 MB, free: 1.012 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.01525, allocations: 34.23 kB / 30.89 MB, free: 0.9805 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.01528, allocations: 12.78 kB / 30.9 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.01547, allocations: 23.84 kB / 30.92 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.01553, allocations: 16.11 kB / 30.94 MB, free: 0.9297 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireOut[1],P1.emptying,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.01582, allocations: 200.3 kB / 31.13 MB, free: 0.7188 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.0159, allocations: 11.81 kB / 31.14 MB, free: 0.707 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009338/0.01684, allocations: 351.9 kB / 31.49 MB, free: 356 kB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.01688, allocations: 3.984 kB / 31.49 MB, free: 352 kB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.0169, allocations: 4 kB / 31.5 MB, free: 348 kB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.01691, allocations: 0 / 31.5 MB, free: 348 kB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.02714, allocations: 0.6495 MB / 32.15 MB, free: 7.578 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.02718, allocations: 3.781 kB / 32.15 MB, free: 7.578 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.02736, allocations: 22.47 kB / 32.17 MB, free: 7.578 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.02739, allocations: 2.25 kB / 32.17 MB, free: 7.578 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.02742, allocations: 8.125 kB / 32.18 MB, free: 7.578 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.02744, allocations: 5.219 kB / 32.19 MB, free: 7.578 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.02745, allocations: 0 / 32.19 MB, free: 7.578 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009617/0.02842, allocations: 497 kB / 32.67 MB, free: 7.418 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.02849, allocations: 95.2 kB / 32.77 MB, free: 7.324 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.02855, allocations: 10.47 kB / 32.78 MB, free: 7.324 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.02875, allocations: 18.3 kB / 32.79 MB, free: 7.324 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.02889, allocations: 35.64 kB / 32.83 MB, free: 7.324 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.02893, allocations: 3.906 kB / 32.83 MB, free: 7.324 MB / 18.57 MB Notification: Performance of sorting global known variables: time 9.869e-05/0.02904, allocations: 121 kB / 32.95 MB, free: 7.246 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.31e-07/0.02905, allocations: 0 / 32.95 MB, free: 7.246 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006383/0.0297, allocations: 90.02 kB / 33.04 MB, free: 7.246 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003051/0.03002, allocations: 159.5 kB / 33.19 MB, free: 7.156 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005925/0.03063, allocations: 290.3 kB / 33.48 MB, free: 7.094 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.03064, allocations: 0 / 33.48 MB, free: 7.094 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.03092, allocations: 173.2 kB / 33.65 MB, free: 6.992 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.03139, allocations: 20.48 kB / 33.67 MB, free: 6.973 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.03255, allocations: 0.5177 MB / 34.18 MB, free: 6.496 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.03285, allocations: 0.7768 MB / 34.96 MB, free: 5.719 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.0331, allocations: 89.83 kB / 35.05 MB, free: 5.648 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.0332, allocations: 27.42 kB / 35.08 MB, free: 5.621 MB / 18.57 MB Notification: Performance of SimCode: time 3.51e-07/0.03321, allocations: 4 kB / 35.08 MB, free: 5.617 MB / 18.57 MB Notification: Performance of Templates: time 0.007592/0.04081, allocations: 2.571 MB / 37.65 MB, free: 3.105 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test2.makefile (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & ./ConPNlib_ConPNlib.Examples.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)