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.00515/0.00515, allocations: 1.357 MB / 17.29 MB, free: 4.527 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.353e-05/1.356e-05, allocations: 0 / 24.36 MB, free: 3.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003108/0.0003387, allocations: 363 kB / 24.71 MB, free: 2.773 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0005809/0.0009292, allocations: 405.5 kB / 25.11 MB, free: 2.379 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0003949/0.001335, allocations: 182.2 kB / 25.28 MB, free: 2.203 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.001408, allocations: 7.938 kB / 25.29 MB, free: 2.195 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.001561, allocations: 24.61 kB / 25.32 MB, free: 2.172 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.001801, allocations: 39.84 kB / 25.36 MB, free: 2.133 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 4.849e-05/0.001858, allocations: 27.12 kB / 25.38 MB, free: 2.109 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.00197, allocations: 103.7 kB / 25.48 MB, free: 2.008 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.00202, allocations: 8.578 kB / 25.49 MB, free: 2 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 6.087e-05/0.002087, allocations: 43.84 kB / 25.53 MB, free: 1.957 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.002167, allocations: 31.78 kB / 25.57 MB, free: 1.926 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.002185, allocations: 0 / 25.57 MB, free: 1.926 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.943e-05/0.00227, allocations: 23.97 kB / 25.59 MB, free: 1.902 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.002301, allocations: 6.781 kB / 25.6 MB, free: 1.898 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.00234, allocations: 37.64 kB / 25.63 MB, free: 1.855 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 8.117e-05/0.002426, allocations: 39.88 kB / 25.67 MB, free: 1.816 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002435, allocations: 0 / 25.67 MB, free: 1.816 MB / 13.93 MB Notification: Performance of FrontEnd: time 8.61e-07/0.002442, allocations: 7.938 kB / 25.68 MB, free: 1.809 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.00245, allocations: 0 / 25.68 MB, free: 1.809 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000275/0.00273, allocations: 357.2 kB / 26.03 MB, free: 1.402 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.002772, allocations: 12.31 kB / 26.04 MB, free: 1.391 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.002808, allocations: 6.219 kB / 26.05 MB, free: 1.387 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.002935, allocations: 176.6 kB / 26.22 MB, free: 1.176 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.002957, allocations: 4.375 kB / 26.22 MB, free: 1.172 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.002973, allocations: 384 / 26.22 MB, free: 1.172 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.003081, allocations: 50.23 kB / 26.27 MB, free: 1.117 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.003096, allocations: 192 / 26.27 MB, free: 1.117 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.003111, allocations: 3.938 kB / 26.28 MB, free: 1.113 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.00312, allocations: 0 / 26.28 MB, free: 1.113 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.003179, allocations: 27.92 kB / 26.3 MB, free: 1.086 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.003582, allocations: 366.9 kB / 26.66 MB, free: 0.6602 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 4.029e-05/0.003635, allocations: 31.22 kB / 26.69 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.003657, allocations: 8.797 kB / 26.7 MB, free: 0.6094 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-06/0.003668, allocations: 0 / 26.7 MB, free: 0.6094 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.00369, allocations: 38.62 kB / 26.74 MB, free: 0.5625 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.003697, allocations: 4 kB / 26.74 MB, free: 0.5586 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001473/0.003849, allocations: 71.34 kB / 26.81 MB, free: 488 kB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.003886, allocations: 81.09 kB / 26.89 MB, free: 388 kB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.234e-05/0.003955, allocations: 112.9 kB / 27 MB, free: 268 kB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-06/0.003968, allocations: 25.7 kB / 27.03 MB, free: 236 kB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.004005, allocations: 91.95 kB / 27.12 MB, free: 140 kB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.004017, allocations: 4 kB / 27.12 MB, free: 136 kB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.004025, allocations: 0 / 27.12 MB, free: 136 kB / 13.93 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.004134, allocations: 326.9 kB / 27.44 MB, free: 4.488 MB / 18.61 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.00416, allocations: 4 kB / 27.44 MB, free: 4.484 MB / 18.61 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.004197, allocations: 21.72 kB / 27.46 MB, free: 4.457 MB / 18.61 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.183e-05/0.004274, allocations: 85.05 kB / 27.55 MB, free: 4.355 MB / 18.61 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004283, allocations: 0 / 27.55 MB, free: 4.355 MB / 18.61 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001206/0.004409, allocations: 87.28 kB / 27.63 MB, free: 4.258 MB / 18.61 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.00445, allocations: 45.66 kB / 27.68 MB, free: 4.207 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.004461, allocations: 4.125 kB / 27.68 MB, free: 4.203 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.004476, allocations: 0 / 27.68 MB, free: 4.203 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.00454, allocations: 12 kB / 27.69 MB, free: 4.191 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.004552, allocations: 0 / 27.69 MB, free: 4.191 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.004583, allocations: 3.938 kB / 27.7 MB, free: 4.188 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.004601, allocations: 4 kB / 27.7 MB, free: 4.184 MB / 18.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.616e-05/0.004702, allocations: 148.3 kB / 27.85 MB, free: 4.023 MB / 18.61 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.004732, allocations: 7.375 kB / 27.85 MB, free: 4.02 MB / 18.61 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.004756, allocations: 7.891 kB / 27.86 MB, free: 4.004 MB / 18.61 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.004765, allocations: 4 kB / 27.86 MB, free: 4 MB / 18.61 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.004773, allocations: 0 / 27.86 MB, free: 4 MB / 18.61 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.004779, allocations: 0 / 27.86 MB, free: 4 MB / 18.61 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.004932, allocations: 161.6 kB / 28.02 MB, free: 3.793 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.004941, allocations: 3.984 kB / 28.03 MB, free: 3.789 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.004958, allocations: 4 kB / 28.03 MB, free: 3.785 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.004965, allocations: 0 / 28.03 MB, free: 3.785 MB / 18.61 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.004975, allocations: 0 / 28.03 MB, free: 3.785 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.004982, allocations: 0 / 28.03 MB, free: 3.785 MB / 18.61 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.004987, allocations: 4.25 kB / 28.03 MB, free: 3.781 MB / 18.61 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.005122, allocations: 181.4 kB / 28.21 MB, free: 3.582 MB / 18.61 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.005165, allocations: 77.11 kB / 28.29 MB, free: 3.488 MB / 18.61 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.005187, allocations: 4 kB / 28.29 MB, free: 3.484 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.005231, allocations: 0 / 28.29 MB, free: 3.484 MB / 18.61 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.005252, allocations: 0 / 28.29 MB, free: 3.484 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.005259, allocations: 0 / 28.29 MB, free: 3.484 MB / 18.61 MB Notification: Performance of sorting global known variables: time 4.923e-05/0.005313, allocations: 95.25 kB / 28.38 MB, free: 3.391 MB / 18.61 MB Notification: Performance of sort global known variables: time 1.2e-07/0.00532, allocations: 4.031 kB / 28.39 MB, free: 3.387 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.0002326/0.005557, allocations: 15.91 kB / 28.4 MB, free: 3.371 MB / 18.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.00567, allocations: 103.8 kB / 28.5 MB, free: 3.262 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.005779, allocations: 71.34 kB / 28.57 MB, free: 3.18 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.00579, allocations: 0 / 28.57 MB, free: 3.18 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.005838, allocations: 67.39 kB / 28.64 MB, free: 3.102 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.006032, allocations: 3.938 kB / 28.64 MB, free: 3.098 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.006348, allocations: 179.2 kB / 28.82 MB, free: 2.891 MB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.006572, allocations: 0.677 MB / 29.5 MB, free: 2.188 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.00664, allocations: 23.36 kB / 29.52 MB, free: 2.164 MB / 18.61 MB Notification: Performance of SimCode: time 2.9e-07/0.006647, allocations: 0 / 29.52 MB, free: 2.164 MB / 18.61 MB Notification: Performance of Templates: time 0.001879/0.008532, allocations: 0.7463 MB / 30.26 MB, free: 1.422 MB / 18.61 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)