Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") translateModel(ConPNlib.Examples.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005403/0.005403, allocations: 1.364 MB / 17.31 MB, free: 4.523 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.239e-05/1.243e-05, allocations: 0 / 24.32 MB, free: 3.152 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003911/0.0004207, allocations: 356 kB / 24.67 MB, free: 2.824 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.003127/0.003556, allocations: 4.127 MB / 28.8 MB, free: 3.336 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 6.567e-05/0.003636, allocations: 51.86 kB / 28.85 MB, free: 3.289 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.02215/0.0258, allocations: 6.954 MB / 35.8 MB, free: 5.434 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.584e-06/0.02584, allocations: 1.859 kB / 35.81 MB, free: 5.434 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.02587, allocations: 3.938 kB / 35.81 MB, free: 5.434 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008096/0.02669, allocations: 0.6233 MB / 36.43 MB, free: 4.883 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.02674, allocations: 7.938 kB / 36.44 MB, free: 4.883 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.02686, allocations: 50.84 kB / 36.49 MB, free: 4.855 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.02729, allocations: 323.4 kB / 36.81 MB, free: 4.559 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.02733, allocations: 29.38 kB / 36.83 MB, free: 4.531 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.02741, allocations: 53.2 kB / 36.89 MB, free: 4.484 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.02838, allocations: 0.6213 MB / 37.51 MB, free: 3.844 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.02841, allocations: 4.125 kB / 37.51 MB, free: 3.84 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.02846, allocations: 19.94 kB / 37.53 MB, free: 3.82 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.02851, allocations: 32.98 kB / 37.56 MB, free: 3.785 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.02912, allocations: 431.7 kB / 37.98 MB, free: 3.367 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.0304, allocations: 1.145 MB / 39.13 MB, free: 2.16 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.03083, allocations: 344.1 kB / 39.47 MB, free: 1.797 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.03105, allocations: 180.9 kB / 39.64 MB, free: 1.617 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/0.0314, allocations: 0.5969 MB / 40.24 MB, free: 0.8945 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.03142, allocations: 30.73 kB / 40.27 MB, free: 0.8555 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 2.415e-06/0.03143, allocations: 7.938 kB / 40.28 MB, free: 0.8477 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0007875/0.03223, allocations: 0.5076 MB / 40.78 MB, free: 336 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.03228, allocations: 148.7 kB / 40.93 MB, free: 156 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008818/0.04111, allocations: 222.2 kB / 41.15 MB, free: 4.484 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-05/0.04123, allocations: 32.12 kB / 41.18 MB, free: 4.453 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.04142, allocations: 218.7 kB / 41.39 MB, free: 4.348 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.04156, allocations: 75.53 kB / 41.47 MB, free: 4.312 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.0416, allocations: 8.922 kB / 41.47 MB, free: 4.312 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.04169, allocations: 329.3 kB / 41.8 MB, free: 4 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.04217, allocations: 150.4 kB / 41.94 MB, free: 3.996 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.04268, allocations: 262.3 kB / 42.2 MB, free: 3.879 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.04356, allocations: 426.9 kB / 42.62 MB, free: 3.715 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.04358, allocations: 0 / 42.62 MB, free: 3.715 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001445/0.04504, allocations: 0.5304 MB / 43.15 MB, free: 3.629 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.04512, allocations: 48.66 kB / 43.19 MB, free: 3.598 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.04515, allocations: 3.781 kB / 43.2 MB, free: 3.598 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.04519, allocations: 6.281 kB / 43.2 MB, free: 3.598 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.04552, allocations: 53.2 kB / 43.26 MB, free: 3.594 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.04555, allocations: 4.906 kB / 43.26 MB, free: 3.594 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.04587, allocations: 48.45 kB / 43.31 MB, free: 3.582 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.04595, allocations: 24.39 kB / 43.33 MB, free: 3.582 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 2 * 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.0003413/0.04631, allocations: 261.7 kB / 43.59 MB, free: 3.43 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.0464, allocations: 23 kB / 43.61 MB, free: 3.418 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.04763, allocations: 476.9 kB / 44.08 MB, free: 3.336 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.04768, allocations: 2.531 kB / 44.08 MB, free: 3.336 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.0477, allocations: 2.188 kB / 44.08 MB, free: 3.336 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.04771, allocations: 0 / 44.08 MB, free: 3.336 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.04937, allocations: 0.8896 MB / 44.97 MB, free: 2.844 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.0494, allocations: 6.031 kB / 44.98 MB, free: 2.844 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.04965, allocations: 30.91 kB / 45.01 MB, free: 2.844 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.04968, allocations: 1.125 kB / 45.01 MB, free: 2.844 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.04972, allocations: 17.59 kB / 45.02 MB, free: 2.836 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.04974, allocations: 0 / 45.02 MB, free: 2.836 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.04975, allocations: 0 / 45.02 MB, free: 2.836 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.05128, allocations: 0.696 MB / 45.72 MB, free: 2.387 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.05135, allocations: 96.86 kB / 45.81 MB, free: 2.273 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.05144, allocations: 10.67 kB / 45.82 MB, free: 2.266 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.05172, allocations: 33.78 kB / 45.86 MB, free: 2.238 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.05193, allocations: 56.62 kB / 45.91 MB, free: 2.203 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.05199, allocations: 21.08 kB / 45.93 MB, free: 2.188 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001664/0.05217, allocations: 148.6 kB / 46.08 MB, free: 2.055 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.21e-07/0.05219, allocations: 0 / 46.08 MB, free: 2.055 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0008118/0.05301, allocations: 157 kB / 46.23 MB, free: 1.922 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * 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.0004001/0.05343, allocations: 203.4 kB / 46.43 MB, free: 1.746 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.05453, allocations: 478 kB / 46.9 MB, free: 1.324 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.05455, allocations: 12.19 kB / 46.91 MB, free: 1.312 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.05505, allocations: 256.5 kB / 47.16 MB, free: 1.078 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.05563, allocations: 41.88 kB / 47.2 MB, free: 1.047 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.05727, allocations: 0.8248 MB / 48.03 MB, free: 296 kB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.0578, allocations: 0.8542 MB / 48.88 MB, free: 5.855 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0004095/0.05823, allocations: 78.52 kB / 48.96 MB, free: 5.801 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.05839, allocations: 34.47 kB / 48.99 MB, free: 5.773 MB / 24.96 MB Notification: Performance of SimCode: time 5.31e-07/0.0584, allocations: 0 / 48.99 MB, free: 5.773 MB / 24.96 MB Notification: Performance of Templates: time 0.0137/0.07212, allocations: 3.934 MB / 52.92 MB, free: 2.098 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test7.makefile (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & ./ConPNlib_ConPNlib.Examples.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)