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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01231/0.01231, allocations: 1.341 MB / 8.624 MB, free: 1.645 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 8.847e-06/9.007e-06, allocations: 0 / 12.81 MB, free: 1.133 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009389/0.0009782, allocations: 369.4 kB / 13.17 MB, free: 0.7852 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.009516/0.01052, allocations: 2.669 MB / 15.84 MB, free: 1.148 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.01076, allocations: 47.98 kB / 15.89 MB, free: 1.102 MB / 7.832 MB Notification: Performance of FrontEnd: time 0.008496/0.01927, allocations: 2.024 MB / 17.91 MB, free: 1.695 MB / 10.45 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.01935, allocations: 8.062 kB / 17.92 MB, free: 1.688 MB / 10.45 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.0004599/0.01983, allocations: 354.7 kB / 18.27 MB, free: 1.289 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.01989, allocations: 8.609 kB / 18.28 MB, free: 1.281 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.01994, allocations: 5.938 kB / 18.28 MB, free: 1.277 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.02022, allocations: 191 kB / 18.47 MB, free: 1.051 MB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.02026, allocations: 4 kB / 18.47 MB, free: 1.047 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.02029, allocations: 0 / 18.47 MB, free: 1.047 MB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000106/0.0204, allocations: 23.89 kB / 18.5 MB, free: 1.023 MB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.02052, allocations: 41.69 kB / 18.54 MB, free: 0.9766 MB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.02054, allocations: 8 kB / 18.54 MB, free: 0.9688 MB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.02057, allocations: 0 / 18.54 MB, free: 0.9688 MB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.02058, allocations: 0 / 18.54 MB, free: 0.9688 MB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.02123, allocations: 342.5 kB / 18.88 MB, free: 0.5781 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 5.394e-05/0.0213, allocations: 26.52 kB / 18.91 MB, free: 0.543 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.02136, allocations: 8.922 kB / 18.91 MB, free: 0.5312 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.02138, allocations: 4 kB / 18.92 MB, free: 0.5273 MB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.02141, allocations: 30.56 kB / 18.95 MB, free: 500 kB / 10.45 MB Notification: Performance of pre-optimization done (n=2): time 1.994e-06/0.02143, allocations: 0 / 18.95 MB, free: 500 kB / 10.45 MB Notification: Performance of matching and sorting (n=2): time 0.0001646/0.0216, allocations: 45.59 kB / 18.99 MB, free: 448 kB / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.02166, allocations: 81.05 kB / 19.07 MB, free: 348 kB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.02178, allocations: 101.9 kB / 19.17 MB, free: 240 kB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.02181, allocations: 29.69 kB / 19.2 MB, free: 204 kB / 10.45 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.02188, allocations: 91.95 kB / 19.29 MB, free: 108 kB / 10.45 MB Notification: Performance of collectInitialBindings (initialization): time 9.779e-06/0.0219, allocations: 10.12 kB / 19.3 MB, free: 100 kB / 10.45 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.02192, allocations: 4 kB / 19.3 MB, free: 96 kB / 10.45 MB Notification: Performance of setup shared object (initialization): time 0.003339/0.02527, allocations: 310.8 kB / 19.61 MB, free: 2.859 MB / 10.45 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.02542, allocations: 10.86 kB / 19.62 MB, free: 2.859 MB / 10.45 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.02547, allocations: 19.28 kB / 19.64 MB, free: 2.844 MB / 10.45 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.008e-05/0.02556, allocations: 14.8 kB / 19.65 MB, free: 2.844 MB / 10.45 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.02558, allocations: 2.812 kB / 19.65 MB, free: 2.844 MB / 10.45 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001747/0.02576, allocations: 61.22 kB / 19.71 MB, free: 2.812 MB / 10.45 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.02579, allocations: 3.281 kB / 19.72 MB, free: 2.812 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.02581, allocations: 0 / 19.72 MB, free: 2.812 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.02584, allocations: 6.875 kB / 19.72 MB, free: 2.812 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.02596, allocations: 7.406 kB / 19.73 MB, free: 2.812 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.02598, allocations: 3.688 kB / 19.73 MB, free: 2.812 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.02604, allocations: 0 / 19.73 MB, free: 2.812 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.02607, allocations: 8.281 kB / 19.74 MB, free: 2.812 MB / 10.45 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 () * 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 8.751e-05/0.02616, allocations: 138.2 kB / 19.88 MB, free: 2.676 MB / 10.45 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.02621, allocations: 2.781 kB / 19.88 MB, free: 2.676 MB / 10.45 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.02626, allocations: 10.14 kB / 19.89 MB, free: 2.66 MB / 10.45 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.02627, allocations: 0 / 19.89 MB, free: 2.66 MB / 10.45 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.02628, allocations: 0 / 19.89 MB, free: 2.66 MB / 10.45 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.0263, allocations: 3.594 kB / 19.89 MB, free: 2.66 MB / 10.45 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.02646, allocations: 142.9 kB / 20.03 MB, free: 2.504 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.02647, allocations: 0 / 20.03 MB, free: 2.504 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.0265, allocations: 3.281 kB / 20.04 MB, free: 2.504 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.02651, allocations: 2.594 kB / 20.04 MB, free: 2.504 MB / 10.45 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.02653, allocations: 3.125 kB / 20.04 MB, free: 2.504 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.02654, allocations: 0 / 20.04 MB, free: 2.504 MB / 10.45 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.02655, allocations: 1.438 kB / 20.04 MB, free: 2.504 MB / 10.45 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001061/0.02666, allocations: 135.5 kB / 20.18 MB, free: 2.375 MB / 10.45 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.02671, allocations: 84.11 kB / 20.26 MB, free: 2.281 MB / 10.45 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.02674, allocations: 3.438 kB / 20.26 MB, free: 2.281 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.02683, allocations: 3.906 kB / 20.26 MB, free: 2.277 MB / 10.45 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.02686, allocations: 7.672 kB / 20.27 MB, free: 2.277 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.02687, allocations: 2.969 kB / 20.28 MB, free: 2.277 MB / 10.45 MB Notification: Performance of sort global known variables: time 4.27e-05/0.02692, allocations: 90.03 kB / 20.36 MB, free: 2.203 MB / 10.45 MB Notification: Performance of remove unused functions: time 0.0003259/0.02726, allocations: 10.5 kB / 20.37 MB, free: 2.203 MB / 10.45 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) * 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.0001457/0.02741, allocations: 105.2 kB / 20.48 MB, free: 2.117 MB / 10.45 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.02754, allocations: 46.14 kB / 20.52 MB, free: 2.086 MB / 10.45 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.02756, allocations: 0 / 20.52 MB, free: 2.086 MB / 10.45 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.02759, allocations: 33.77 kB / 20.55 MB, free: 2.055 MB / 10.45 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.02779, allocations: 7.219 kB / 20.56 MB, free: 2.055 MB / 10.45 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.02928, allocations: 291.4 kB / 20.85 MB, free: 1.988 MB / 10.45 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.02958, allocations: 0.7192 MB / 21.56 MB, free: 1.281 MB / 10.45 MB Notification: Performance of SimCode: time 1.082e-06/0.0296, allocations: 0 / 21.56 MB, free: 1.281 MB / 10.45 MB Notification: Performance of Templates: time 0.003123/0.03273, allocations: 0.5557 MB / 22.12 MB, free: 1.238 MB / 10.45 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)