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.01836/0.01837, allocations: 1.356 MB / 16.31 MB, free: 4.941 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.331e-05, allocations: 0 / 23.21 MB, free: 3.793 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001094/0.001156, allocations: 360.1 kB / 23.57 MB, free: 3.637 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.001032/0.002233, allocations: 399.6 kB / 23.96 MB, free: 3.445 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0005816/0.002844, allocations: 152.4 kB / 24.11 MB, free: 3.312 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.002978, allocations: 4.656 kB / 24.11 MB, free: 3.309 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.003168, allocations: 23.86 kB / 24.13 MB, free: 3.285 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.003555, allocations: 40.59 kB / 24.17 MB, free: 3.246 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.404e-05/0.003661, allocations: 19.97 kB / 24.19 MB, free: 3.227 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.003844, allocations: 64.36 kB / 24.26 MB, free: 3.164 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.003945, allocations: 13.08 kB / 24.27 MB, free: 3.152 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.004064, allocations: 42.69 kB / 24.31 MB, free: 3.113 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.004168, allocations: 23.8 kB / 24.33 MB, free: 3.09 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.004204, allocations: 0 / 24.33 MB, free: 3.09 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.004327, allocations: 27.91 kB / 24.36 MB, free: 3.062 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.004371, allocations: 3.984 kB / 24.36 MB, free: 3.059 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.004416, allocations: 37.64 kB / 24.4 MB, free: 3.016 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.004566, allocations: 26.08 kB / 24.43 MB, free: 2.992 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.00459, allocations: 0 / 24.43 MB, free: 2.992 MB / 13.93 MB Notification: Performance of FrontEnd: time 3.577e-06/0.004608, allocations: 8 kB / 24.43 MB, free: 2.984 MB / 13.93 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.004628, allocations: 0 / 24.43 MB, free: 2.984 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.0004626/0.005103, allocations: 357.2 kB / 24.78 MB, free: 2.578 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.005169, allocations: 8.297 kB / 24.79 MB, free: 2.57 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.005229, allocations: 4.766 kB / 24.8 MB, free: 2.566 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.005424, allocations: 177.8 kB / 24.97 MB, free: 2.355 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.005468, allocations: 4.328 kB / 24.97 MB, free: 2.352 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.005501, allocations: 9.172 kB / 24.98 MB, free: 2.344 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.005694, allocations: 46.2 kB / 25.03 MB, free: 2.293 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.005727, allocations: 4.172 kB / 25.03 MB, free: 2.289 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.005757, allocations: 352 / 25.03 MB, free: 2.289 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.005779, allocations: 3.953 kB / 25.04 MB, free: 2.285 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.005913, allocations: 23.92 kB / 25.06 MB, free: 2.262 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/0.006715, allocations: 378.2 kB / 25.43 MB, free: 1.824 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 7.938e-05/0.00682, allocations: 27.92 kB / 25.46 MB, free: 1.789 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.00685, allocations: 12.02 kB / 25.47 MB, free: 1.777 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.00689, allocations: 30.56 kB / 25.5 MB, free: 1.738 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 2.575e-06/0.006907, allocations: 3 kB / 25.5 MB, free: 1.738 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0002527/0.007172, allocations: 71.34 kB / 25.57 MB, free: 1.656 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.00723, allocations: 77.11 kB / 25.65 MB, free: 1.562 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.007403, allocations: 121.8 kB / 25.76 MB, free: 1.434 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.007435, allocations: 25.7 kB / 25.79 MB, free: 1.402 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.0075, allocations: 88.08 kB / 25.88 MB, free: 1.312 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.00753, allocations: 8 kB / 25.88 MB, free: 1.305 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.007555, allocations: 4 kB / 25.89 MB, free: 1.301 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.007641, allocations: 314.8 kB / 26.19 MB, free: 0.9844 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.007703, allocations: 8 kB / 26.2 MB, free: 0.9766 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.007776, allocations: 20.22 kB / 26.22 MB, free: 0.9531 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.00787, allocations: 37.69 kB / 26.26 MB, free: 0.9102 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.007891, allocations: 3.938 kB / 26.26 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002291/0.008133, allocations: 91.3 kB / 26.35 MB, free: 0.8047 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.008196, allocations: 41.64 kB / 26.39 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.008218, allocations: 0 / 26.39 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.008246, allocations: 0 / 26.39 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.008386, allocations: 8 kB / 26.4 MB, free: 0.75 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.008412, allocations: 3.938 kB / 26.4 MB, free: 0.7461 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.008511, allocations: 7.984 kB / 26.41 MB, free: 0.7383 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.008545, allocations: 3.891 kB / 26.42 MB, free: 0.7383 MB / 13.93 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.0001118/0.008671, allocations: 140.2 kB / 26.55 MB, free: 0.5859 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.00874, allocations: 8.031 kB / 26.56 MB, free: 0.5781 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.008786, allocations: 11.84 kB / 26.57 MB, free: 0.5586 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.008805, allocations: 0 / 26.57 MB, free: 0.5586 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.008827, allocations: 3.984 kB / 26.58 MB, free: 0.5547 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.008844, allocations: 3.938 kB / 26.58 MB, free: 0.5508 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.00911, allocations: 161.6 kB / 26.74 MB, free: 352 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.009135, allocations: 0 / 26.74 MB, free: 352 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.009173, allocations: 0 / 26.74 MB, free: 352 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.009192, allocations: 0 / 26.74 MB, free: 352 kB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.009216, allocations: 4 kB / 26.74 MB, free: 348 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.009234, allocations: 5.172 kB / 26.75 MB, free: 344 kB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.009249, allocations: 4.125 kB / 26.75 MB, free: 340 kB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.009447, allocations: 177.1 kB / 26.92 MB, free: 140 kB / 13.93 MB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.009507, allocations: 81.11 kB / 27 MB, free: 40 kB / 13.93 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.009551, allocations: 3.984 kB / 27.01 MB, free: 36 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.00968, allocations: 0 / 27.01 MB, free: 36 kB / 13.93 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.009726, allocations: 7.953 kB / 27.01 MB, free: 28 kB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.009749, allocations: 0 / 27.01 MB, free: 28 kB / 13.93 MB Notification: Performance of sorting global known variables: time 0.0001302/0.009893, allocations: 99.59 kB / 27.11 MB, free: 4.613 MB / 18.61 MB Notification: Performance of sort global known variables: time 5.82e-07/0.009911, allocations: 0 / 27.11 MB, free: 4.613 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.0005515/0.01048, allocations: 8 kB / 27.12 MB, free: 4.605 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 (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.0002519/0.01075, allocations: 107.6 kB / 27.22 MB, free: 4.492 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.01101, allocations: 79.39 kB / 27.3 MB, free: 4.402 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.01103, allocations: 3.75 kB / 27.31 MB, free: 4.402 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 7.753e-05/0.01112, allocations: 59.34 kB / 27.36 MB, free: 4.332 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.01144, allocations: 16.11 kB / 27.38 MB, free: 4.316 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.01187, allocations: 109.5 kB / 27.49 MB, free: 4.184 MB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.01231, allocations: 0.677 MB / 28.16 MB, free: 3.48 MB / 18.61 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.01252, allocations: 43.83 kB / 28.21 MB, free: 3.438 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.01261, allocations: 15.42 kB / 28.22 MB, free: 3.422 MB / 18.61 MB Notification: Performance of SimCode: time 1.433e-06/0.01263, allocations: 0 / 28.22 MB, free: 3.422 MB / 18.61 MB Notification: Performance of Templates: time 0.004725/0.01737, allocations: 484.2 kB / 28.69 MB, free: 2.949 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)