Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1b.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.Test1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1b") translateModel(ConPNlib.Examples.Test1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005667/0.005667, allocations: 1.364 MB / 17.31 MB, free: 4.398 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.184e-05/1.18e-05, allocations: 0 / 24.33 MB, free: 3.039 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004799/0.0005074, allocations: 353.6 kB / 24.67 MB, free: 2.719 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.002591/0.003108, allocations: 3.521 MB / 28.19 MB, free: 3.84 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 7.247e-05/0.003197, allocations: 51.86 kB / 28.24 MB, free: 3.793 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.005154/0.00836, allocations: 2.367 MB / 30.61 MB, free: 1.422 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.563e-06/0.008381, allocations: 0 / 30.61 MB, free: 1.422 MB / 18.57 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.008397, allocations: 4.312 kB / 30.61 MB, free: 1.418 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003049/0.008708, allocations: 361.2 kB / 30.97 MB, free: 1.004 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.008747, allocations: 8.312 kB / 30.97 MB, free: 0.9961 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.008782, allocations: 8.844 kB / 30.98 MB, free: 0.9883 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.008954, allocations: 180.4 kB / 31.16 MB, free: 0.7734 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.008976, allocations: 8.359 kB / 31.17 MB, free: 0.7656 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.008994, allocations: 4.375 kB / 31.17 MB, free: 0.7617 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.314e-05/0.009092, allocations: 50.19 kB / 31.22 MB, free: 0.707 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.009106, allocations: 192 / 31.22 MB, free: 0.707 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.009121, allocations: 3.938 kB / 31.22 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.009129, allocations: 0 / 31.22 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.00919, allocations: 23.98 kB / 31.25 MB, free: 0.6797 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.009678, allocations: 381.9 kB / 31.62 MB, free: 244 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 4.672e-05/0.009739, allocations: 26.56 kB / 31.65 MB, free: 208 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.009775, allocations: 12.86 kB / 31.66 MB, free: 192 kB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.009789, allocations: 1.312 kB / 31.66 MB, free: 192 kB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.009817, allocations: 30.56 kB / 31.69 MB, free: 152 kB / 18.57 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.009824, allocations: 0 / 31.69 MB, free: 152 kB / 18.57 MB Notification: Performance of matching and sorting (n=2): time 0.0001862/0.01001, allocations: 75.41 kB / 31.76 MB, free: 64 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005787/0.01581, allocations: 78.19 kB / 31.84 MB, free: 6.48 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.01595, allocations: 112.9 kB / 31.95 MB, free: 6.383 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.01597, allocations: 26.45 kB / 31.98 MB, free: 6.352 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.016, allocations: 92.8 kB / 32.07 MB, free: 6.27 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.01601, allocations: 4.969 kB / 32.07 MB, free: 6.27 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.01602, allocations: 2.188 kB / 32.07 MB, free: 6.27 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.01607, allocations: 320.1 kB / 32.39 MB, free: 5.957 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.0161, allocations: 12.2 kB / 32.4 MB, free: 5.957 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/0.01613, allocations: 22.42 kB / 32.42 MB, free: 5.941 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/0.01619, allocations: 83.12 kB / 32.5 MB, free: 5.863 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.01619, allocations: 3.75 kB / 32.5 MB, free: 5.863 MB / 18.57 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001098/0.01631, allocations: 97.09 kB / 32.6 MB, free: 5.797 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.01634, allocations: 31.77 kB / 32.63 MB, free: 5.766 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01635, allocations: 1.25 kB / 32.63 MB, free: 5.766 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.01637, allocations: 1.125 kB / 32.63 MB, free: 5.766 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.01644, allocations: 12.89 kB / 32.65 MB, free: 5.766 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01645, allocations: 1.25 kB / 32.65 MB, free: 5.766 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.01649, allocations: 6.406 kB / 32.65 MB, free: 5.766 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.0165, allocations: 4.844 kB / 32.66 MB, free: 5.766 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * 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 5.214e-05/0.01656, allocations: 141.7 kB / 32.8 MB, free: 5.621 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.01659, allocations: 5.188 kB / 32.8 MB, free: 5.617 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.832e-05/0.01661, allocations: 7.984 kB / 32.81 MB, free: 5.605 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01662, allocations: 3.938 kB / 32.81 MB, free: 5.602 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.01663, allocations: 1.312 kB / 32.81 MB, free: 5.602 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01664, allocations: 2.062 kB / 32.82 MB, free: 5.602 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.01675, allocations: 157.9 kB / 32.97 MB, free: 5.414 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01676, allocations: 0 / 32.97 MB, free: 5.414 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.01678, allocations: 9.031 kB / 32.98 MB, free: 5.414 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01679, allocations: 0.7969 kB / 32.98 MB, free: 5.414 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.0168, allocations: 2.062 kB / 32.98 MB, free: 5.414 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.0168, allocations: 6.375 kB / 32.99 MB, free: 5.41 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01681, allocations: 0 / 32.99 MB, free: 5.41 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.0169, allocations: 164.8 kB / 33.15 MB, free: 5.25 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.01693, allocations: 84.27 kB / 33.23 MB, free: 5.156 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.01695, allocations: 2.25 kB / 33.23 MB, free: 5.156 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.01701, allocations: 6.422 kB / 33.24 MB, free: 5.152 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.01703, allocations: 1.375 kB / 33.24 MB, free: 5.152 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.01704, allocations: 1.469 kB / 33.24 MB, free: 5.152 MB / 18.57 MB Notification: Performance of sorting global known variables: time 3.168e-05/0.01707, allocations: 91.09 kB / 33.33 MB, free: 5.078 MB / 18.57 MB Notification: Performance of sort global known variables: time 7.11e-07/0.01708, allocations: 0 / 33.33 MB, free: 5.078 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0002469/0.01733, allocations: 19.45 kB / 33.35 MB, free: 5.078 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 1 (T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * 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 9.505e-05/0.01743, allocations: 109.2 kB / 33.46 MB, free: 4.988 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 9.675e-05/0.01754, allocations: 81.94 kB / 33.54 MB, free: 4.926 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01755, allocations: 0 / 33.54 MB, free: 4.926 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.01757, allocations: 59.38 kB / 33.6 MB, free: 4.863 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.01779, allocations: 7.422 kB / 33.6 MB, free: 4.863 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.01811, allocations: 143 kB / 33.74 MB, free: 4.746 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.929e-05/0.01821, allocations: 0.6862 MB / 34.43 MB, free: 4.047 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 7.37e-05/0.01829, allocations: 45.3 kB / 34.47 MB, free: 4.043 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.01832, allocations: 16.8 kB / 34.49 MB, free: 4.035 MB / 18.57 MB Notification: Performance of SimCode: time 2.51e-07/0.01833, allocations: 0 / 34.49 MB, free: 4.035 MB / 18.57 MB Notification: Performance of Templates: time 0.002162/0.0205, allocations: 479.8 kB / 34.96 MB, free: 4.004 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test1b.makefile (rm -f ConPNlib_ConPNlib.Examples.Test1b.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1b.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1b.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1b.sim & ./ConPNlib_ConPNlib.Examples.Test1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test1b.pipe 2>&1)