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.005664/0.005664, allocations: 1.364 MB / 17.26 MB, free: 4.539 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.619e-05, allocations: 0 / 24.31 MB, free: 3.137 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.00126/0.001317, allocations: 358.4 kB / 24.66 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0009331/0.00227, allocations: 418.2 kB / 25.07 MB, free: 2.402 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.002861, allocations: 174.5 kB / 25.24 MB, free: 2.234 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.003023, allocations: 6.875 kB / 25.25 MB, free: 2.23 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.003238, allocations: 31.8 kB / 25.28 MB, free: 2.199 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.003599, allocations: 39.83 kB / 25.32 MB, free: 2.16 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.393e-05/0.003712, allocations: 19.98 kB / 25.34 MB, free: 2.141 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.003896, allocations: 107.8 kB / 25.44 MB, free: 2.035 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 6.405e-05/0.003977, allocations: 7.5 kB / 25.45 MB, free: 2.027 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.004076, allocations: 45.09 kB / 25.49 MB, free: 1.984 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 9.629e-05/0.004188, allocations: 27.8 kB / 25.52 MB, free: 1.957 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.004222, allocations: 0 / 25.52 MB, free: 1.957 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.004339, allocations: 27.12 kB / 25.55 MB, free: 1.934 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.00439, allocations: 15.97 kB / 25.56 MB, free: 1.918 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.004438, allocations: 7.938 kB / 25.57 MB, free: 1.91 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.004569, allocations: 31.91 kB / 25.6 MB, free: 1.879 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.00459, allocations: 0 / 25.6 MB, free: 1.879 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004601, allocations: 0 / 25.6 MB, free: 1.879 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004615, allocations: 4 kB / 25.6 MB, free: 1.875 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.0003943/0.005019, allocations: 361.1 kB / 25.96 MB, free: 1.465 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.005087, allocations: 16.31 kB / 25.97 MB, free: 1.449 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.005144, allocations: 4.844 kB / 25.98 MB, free: 1.445 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.005306, allocations: 176.6 kB / 26.15 MB, free: 1.234 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.005342, allocations: 4.375 kB / 26.15 MB, free: 1.23 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.005365, allocations: 384 / 26.15 MB, free: 1.23 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.005517, allocations: 50.25 kB / 26.2 MB, free: 1.176 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.005538, allocations: 192 / 26.2 MB, free: 1.176 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.00556, allocations: 5.953 kB / 26.21 MB, free: 1.172 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.005577, allocations: 0 / 26.21 MB, free: 1.172 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.005651, allocations: 19.98 kB / 26.23 MB, free: 1.152 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.006168, allocations: 383 kB / 26.6 MB, free: 0.7109 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 5.297e-05/0.006238, allocations: 24.36 kB / 26.63 MB, free: 0.6797 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.006268, allocations: 12.8 kB / 26.64 MB, free: 0.6641 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.006286, allocations: 0 / 26.64 MB, free: 0.6641 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.006312, allocations: 34.62 kB / 26.67 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.006324, allocations: 4 kB / 26.68 MB, free: 0.6172 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0002126/0.006544, allocations: 75.33 kB / 26.75 MB, free: 0.5312 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.006585, allocations: 77.11 kB / 26.83 MB, free: 448 kB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.006675, allocations: 115.1 kB / 26.94 MB, free: 324 kB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.006693, allocations: 25.7 kB / 26.96 MB, free: 292 kB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.006747, allocations: 87.95 kB / 27.05 MB, free: 200 kB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.006769, allocations: 11.98 kB / 27.06 MB, free: 188 kB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.006809, allocations: 9.719 kB / 27.07 MB, free: 172 kB / 13.93 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.006923, allocations: 318.9 kB / 27.38 MB, free: 4.531 MB / 18.61 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.006976, allocations: 8 kB / 27.39 MB, free: 4.523 MB / 18.61 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.007037, allocations: 25.7 kB / 27.41 MB, free: 4.492 MB / 18.61 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.007159, allocations: 77.06 kB / 27.49 MB, free: 4.398 MB / 18.61 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.007176, allocations: 3.984 kB / 27.49 MB, free: 4.395 MB / 18.61 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001704/0.007354, allocations: 87.3 kB / 27.58 MB, free: 4.297 MB / 18.61 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.007405, allocations: 33.7 kB / 27.61 MB, free: 4.258 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.007426, allocations: 7.219 kB / 27.62 MB, free: 4.254 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.007452, allocations: 0 / 27.62 MB, free: 4.254 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.007547, allocations: 16.09 kB / 27.63 MB, free: 4.238 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.007564, allocations: 0 / 27.63 MB, free: 4.238 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.007614, allocations: 15.92 kB / 27.65 MB, free: 4.223 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.007645, allocations: 4 kB / 27.65 MB, free: 4.219 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 0.0001373/0.007791, allocations: 140.3 kB / 27.79 MB, free: 4.066 MB / 18.61 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.007842, allocations: 3.906 kB / 27.8 MB, free: 4.062 MB / 18.61 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.007878, allocations: 11.89 kB / 27.81 MB, free: 4.043 MB / 18.61 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007891, allocations: 4 kB / 27.81 MB, free: 4.039 MB / 18.61 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.007906, allocations: 3.984 kB / 27.81 MB, free: 4.035 MB / 18.61 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.007917, allocations: 0 / 27.81 MB, free: 4.035 MB / 18.61 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.008158, allocations: 161.6 kB / 27.97 MB, free: 3.828 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008171, allocations: 0 / 27.97 MB, free: 3.828 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.008193, allocations: 0 / 27.97 MB, free: 3.828 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.008203, allocations: 0 / 27.97 MB, free: 3.828 MB / 18.61 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.008216, allocations: 0 / 27.97 MB, free: 3.828 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.008229, allocations: 4 kB / 27.98 MB, free: 3.824 MB / 18.61 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.008238, allocations: 4.25 kB / 27.98 MB, free: 3.82 MB / 18.61 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.008428, allocations: 177.4 kB / 28.15 MB, free: 3.625 MB / 18.61 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.008486, allocations: 77.11 kB / 28.23 MB, free: 3.531 MB / 18.61 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.008518, allocations: 4 kB / 28.23 MB, free: 3.527 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.008596, allocations: 0 / 28.23 MB, free: 3.527 MB / 18.61 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.008633, allocations: 3.984 kB / 28.24 MB, free: 3.523 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.008647, allocations: 0 / 28.24 MB, free: 3.523 MB / 18.61 MB Notification: Performance of sorting global known variables: time 8.631e-05/0.008741, allocations: 91.27 kB / 28.33 MB, free: 3.434 MB / 18.61 MB Notification: Performance of sort global known variables: time 2.21e-07/0.008755, allocations: 32 / 28.33 MB, free: 3.434 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.0003854/0.009151, allocations: 19.98 kB / 28.35 MB, free: 3.414 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.0001774/0.009342, allocations: 103.8 kB / 28.45 MB, free: 3.305 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.00953, allocations: 79.33 kB / 28.52 MB, free: 3.215 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.009552, allocations: 4 kB / 28.53 MB, free: 3.211 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.00961, allocations: 55.41 kB / 28.58 MB, free: 3.145 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.009985, allocations: 7.938 kB / 28.59 MB, free: 3.137 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.01049, allocations: 175.8 kB / 28.76 MB, free: 2.934 MB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.01089, allocations: 0.6809 MB / 29.44 MB, free: 2.227 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.01103, allocations: 23.36 kB / 29.47 MB, free: 2.203 MB / 18.61 MB Notification: Performance of SimCode: time 5.91e-07/0.01105, allocations: 0 / 29.47 MB, free: 2.203 MB / 18.61 MB Notification: Performance of Templates: time 0.003128/0.01419, allocations: 0.7426 MB / 30.21 MB, free: 1.465 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)