Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1b.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01628/0.01628, allocations: 1.356 MB / 16.3 MB, free: 5.348 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.664e-05/1.657e-05, allocations: 4 kB / 23.22 MB, free: 4.008 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006821/0.0007202, allocations: 350.6 kB / 23.57 MB, free: 3.859 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.003398/0.004132, allocations: 3.502 MB / 27.07 MB, free: 0.5547 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001217/0.004289, allocations: 47.98 kB / 27.11 MB, free: 0.5078 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.008207/0.01251, allocations: 2.361 MB / 29.48 MB, free: 2.797 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01255, allocations: 4 kB / 29.48 MB, free: 2.793 MB / 18.57 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.01257, allocations: 0 / 29.48 MB, free: 2.793 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.0004147/0.013, allocations: 365.4 kB / 29.84 MB, free: 2.379 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.01306, allocations: 12.3 kB / 29.85 MB, free: 2.367 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.01311, allocations: 4.766 kB / 29.85 MB, free: 2.363 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.01335, allocations: 188.2 kB / 30.04 MB, free: 2.141 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.01338, allocations: 352 / 30.04 MB, free: 2.141 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.01341, allocations: 4.344 kB / 30.04 MB, free: 2.137 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.01355, allocations: 50.19 kB / 30.09 MB, free: 2.082 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.01358, allocations: 4.172 kB / 30.09 MB, free: 2.078 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.0136, allocations: 4.344 kB / 30.1 MB, free: 2.074 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.01362, allocations: 3.953 kB / 30.1 MB, free: 2.07 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.01371, allocations: 19.98 kB / 30.12 MB, free: 2.051 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006514/0.01437, allocations: 370 kB / 30.48 MB, free: 1.621 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 6.314e-05/0.01445, allocations: 30.52 kB / 30.51 MB, free: 1.582 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.01448, allocations: 9.266 kB / 30.52 MB, free: 1.574 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.01451, allocations: 34.56 kB / 30.56 MB, free: 1.531 MB / 18.57 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.01452, allocations: 0 / 30.56 MB, free: 1.531 MB / 18.57 MB Notification: Performance of matching and sorting (n=2): time 0.0001977/0.01473, allocations: 71.45 kB / 30.63 MB, free: 1.449 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.0148, allocations: 81.05 kB / 30.7 MB, free: 1.352 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.01491, allocations: 112.9 kB / 30.81 MB, free: 1.234 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.01494, allocations: 25.7 kB / 30.84 MB, free: 1.203 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.01501, allocations: 95.89 kB / 30.93 MB, free: 1.105 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.01504, allocations: 12.11 kB / 30.95 MB, free: 1.094 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.01505, allocations: 0 / 30.95 MB, free: 1.094 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.01519, allocations: 314.8 kB / 31.25 MB, free: 0.7773 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.01523, allocations: 4 kB / 31.26 MB, free: 0.7734 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.01529, allocations: 25.7 kB / 31.28 MB, free: 0.7422 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.01537, allocations: 33.7 kB / 31.31 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01538, allocations: 1.031 kB / 31.32 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001775/0.01557, allocations: 103.2 kB / 31.42 MB, free: 0.5898 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.01562, allocations: 37.66 kB / 31.45 MB, free: 0.5469 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01564, allocations: 0 / 31.45 MB, free: 0.5469 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.01566, allocations: 0 / 31.45 MB, free: 0.5469 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.01579, allocations: 11.98 kB / 31.46 MB, free: 0.5352 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.01581, allocations: 0 / 31.46 MB, free: 0.5352 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.833e-05/0.01587, allocations: 4 kB / 31.47 MB, free: 0.5312 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.0159, allocations: 0 / 31.47 MB, free: 0.5312 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 0.000122/0.01603, allocations: 144.1 kB / 31.61 MB, free: 384 kB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.01607, allocations: 11.94 kB / 31.62 MB, free: 372 kB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.01611, allocations: 11.41 kB / 31.63 MB, free: 360 kB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01612, allocations: 0 / 31.63 MB, free: 360 kB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01613, allocations: 0 / 31.63 MB, free: 360 kB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01615, allocations: 0 / 31.63 MB, free: 360 kB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.01635, allocations: 165.6 kB / 31.79 MB, free: 144 kB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01637, allocations: 3.984 kB / 31.8 MB, free: 140 kB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/0.01639, allocations: 0 / 31.8 MB, free: 140 kB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.0164, allocations: 0 / 31.8 MB, free: 140 kB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01642, allocations: 4 kB / 31.8 MB, free: 136 kB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01644, allocations: 3.953 kB / 31.81 MB, free: 132 kB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01645, allocations: 4 kB / 31.81 MB, free: 128 kB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.02771, allocations: 158.5 kB / 31.96 MB, free: 6.141 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.02778, allocations: 79.23 kB / 32.04 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.02781, allocations: 1.594 kB / 32.04 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.02789, allocations: 2.922 kB / 32.05 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.02793, allocations: 5.172 kB / 32.05 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.02794, allocations: 5.281 kB / 32.06 MB, free: 6.047 MB / 18.57 MB Notification: Performance of sorting global known variables: time 5.514e-05/0.02801, allocations: 92.78 kB / 32.15 MB, free: 5.973 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.5e-07/0.02802, allocations: 0 / 32.15 MB, free: 5.973 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003099/0.02834, allocations: 14.39 kB / 32.16 MB, free: 5.973 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 0.0001413/0.02849, allocations: 104.4 kB / 32.26 MB, free: 5.887 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.02865, allocations: 75.94 kB / 32.34 MB, free: 5.824 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02866, allocations: 0.5312 kB / 32.34 MB, free: 5.824 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.02871, allocations: 69.11 kB / 32.41 MB, free: 5.762 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.02888, allocations: 8.594 kB / 32.41 MB, free: 5.762 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.03023, allocations: 317.7 kB / 32.72 MB, free: 5.652 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.03038, allocations: 0.6841 MB / 33.41 MB, free: 4.957 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.0305, allocations: 35 kB / 33.44 MB, free: 4.957 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.03055, allocations: 19.39 kB / 33.46 MB, free: 4.949 MB / 18.57 MB Notification: Performance of SimCode: time 8.82e-07/0.03056, allocations: 4.812 kB / 33.47 MB, free: 4.949 MB / 18.57 MB Notification: Performance of Templates: time 0.00286/0.03343, allocations: 468.4 kB / 33.92 MB, free: 4.93 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)