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.005773/0.005773, allocations: 1.367 MB / 16.61 MB, free: 5.148 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.692e-05/1.694e-05, allocations: 0 / 23.66 MB, free: 3.793 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000665/0.0007039, allocations: 355.4 kB / 24.01 MB, free: 3.48 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0007571/0.001477, allocations: 420 kB / 24.42 MB, free: 3.074 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0004577/0.00195, allocations: 178.1 kB / 24.59 MB, free: 2.902 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.00203, allocations: 0 / 24.59 MB, free: 2.902 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.002212, allocations: 35.14 kB / 24.63 MB, free: 2.871 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.002474, allocations: 39.78 kB / 24.67 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 5.768e-05/0.002542, allocations: 23.97 kB / 24.69 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.002686, allocations: 103.8 kB / 24.79 MB, free: 2.707 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 6.046e-05/0.002756, allocations: 7.266 kB / 24.8 MB, free: 2.699 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.002832, allocations: 47.77 kB / 24.85 MB, free: 2.652 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.00293, allocations: 27.8 kB / 24.87 MB, free: 2.625 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.002954, allocations: 1.25 kB / 24.87 MB, free: 2.625 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/0.003049, allocations: 23.97 kB / 24.9 MB, free: 2.602 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.003089, allocations: 11.98 kB / 24.91 MB, free: 2.59 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.003126, allocations: 8.562 kB / 24.92 MB, free: 2.582 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.003261, allocations: 47.88 kB / 24.96 MB, free: 2.535 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.003275, allocations: 0.7188 kB / 24.96 MB, free: 2.535 MB / 13.93 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003283, allocations: 3.938 kB / 24.97 MB, free: 2.531 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.003295, allocations: 2.062 kB / 24.97 MB, free: 2.531 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.0003293/0.003632, allocations: 361.2 kB / 25.32 MB, free: 2.121 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.003689, allocations: 12.31 kB / 25.34 MB, free: 2.109 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.003733, allocations: 6.656 kB / 25.34 MB, free: 2.105 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.003882, allocations: 172.4 kB / 25.51 MB, free: 1.898 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.003908, allocations: 4.375 kB / 25.51 MB, free: 1.895 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.003933, allocations: 4.375 kB / 25.52 MB, free: 1.891 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.004065, allocations: 51.78 kB / 25.57 MB, free: 1.836 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.004084, allocations: 192 / 25.57 MB, free: 1.836 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.004104, allocations: 3.938 kB / 25.57 MB, free: 1.832 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.004116, allocations: 0 / 25.57 MB, free: 1.832 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.651e-05/0.004189, allocations: 23.98 kB / 25.6 MB, free: 1.809 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.004712, allocations: 374.1 kB / 25.96 MB, free: 1.375 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 4.943e-05/0.004777, allocations: 27.23 kB / 25.99 MB, free: 1.34 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.004807, allocations: 8.844 kB / 26 MB, free: 1.328 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-06/0.004821, allocations: 0 / 26 MB, free: 1.328 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.004843, allocations: 34.62 kB / 26.03 MB, free: 1.285 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.004853, allocations: 0 / 26.03 MB, free: 1.285 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001879/0.005047, allocations: 75.28 kB / 26.1 MB, free: 1.199 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.005092, allocations: 85.11 kB / 26.19 MB, free: 1.098 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.005173, allocations: 116.9 kB / 26.3 MB, free: 0.9766 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.005189, allocations: 25.7 kB / 26.33 MB, free: 0.9453 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.005232, allocations: 95.94 kB / 26.42 MB, free: 0.8477 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-06/0.005247, allocations: 0 / 26.42 MB, free: 0.8477 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.005284, allocations: 13.72 kB / 26.43 MB, free: 0.8281 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.005346, allocations: 322.8 kB / 26.75 MB, free: 0.5039 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.005379, allocations: 4.125 kB / 26.75 MB, free: 0.5 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.005419, allocations: 30.7 kB / 26.78 MB, free: 476 kB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.184e-05/0.005489, allocations: 83.31 kB / 26.86 MB, free: 376 kB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.0055, allocations: 0 / 26.86 MB, free: 376 kB / 13.93 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001164/0.005623, allocations: 87.3 kB / 26.95 MB, free: 276 kB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.005662, allocations: 37.69 kB / 26.99 MB, free: 232 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005674, allocations: 0 / 26.99 MB, free: 232 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.005694, allocations: 0 / 26.99 MB, free: 232 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.005774, allocations: 15.97 kB / 27 MB, free: 216 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.00579, allocations: 0 / 27 MB, free: 216 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/0.005828, allocations: 0 / 27 MB, free: 216 kB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.00585, allocations: 4.125 kB / 27.01 MB, free: 212 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.926e-05/0.005928, allocations: 152.2 kB / 27.15 MB, free: 44 kB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.005975, allocations: 7.094 kB / 27.16 MB, free: 40 kB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.006004, allocations: 11.89 kB / 27.17 MB, free: 20 kB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006014, allocations: 0 / 27.17 MB, free: 20 kB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.006025, allocations: 0 / 27.17 MB, free: 20 kB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.006035, allocations: 4 kB / 27.18 MB, free: 16 kB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.006281, allocations: 165.6 kB / 27.34 MB, free: 4.465 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.006292, allocations: 0 / 27.34 MB, free: 4.465 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-05/0.006312, allocations: 0 / 27.34 MB, free: 4.465 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006321, allocations: 0 / 27.34 MB, free: 4.465 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.006336, allocations: 4 kB / 27.34 MB, free: 4.461 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006344, allocations: 0 / 27.34 MB, free: 4.461 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006354, allocations: 4.312 kB / 27.35 MB, free: 4.457 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.00653, allocations: 173.1 kB / 27.52 MB, free: 4.266 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.006593, allocations: 81.14 kB / 27.6 MB, free: 4.168 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.006623, allocations: 4 kB / 27.6 MB, free: 4.164 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.006697, allocations: 3.938 kB / 27.6 MB, free: 4.16 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.006724, allocations: 0 / 27.6 MB, free: 4.16 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.006734, allocations: 0 / 27.6 MB, free: 4.16 MB / 18.59 MB Notification: Performance of sorting global known variables: time 6.526e-05/0.006806, allocations: 95.25 kB / 27.7 MB, free: 4.066 MB / 18.59 MB Notification: Performance of sort global known variables: time 1.6e-07/0.006815, allocations: 0 / 27.7 MB, free: 4.066 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0003792/0.007201, allocations: 16 kB / 27.71 MB, free: 4.051 MB / 18.59 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.0001599/0.00737, allocations: 99.88 kB / 27.81 MB, free: 3.945 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.007528, allocations: 75.33 kB / 27.88 MB, free: 3.859 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.007543, allocations: 0 / 27.88 MB, free: 3.859 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 4.55e-05/0.007598, allocations: 67.39 kB / 27.95 MB, free: 3.781 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.007942, allocations: 3.938 kB / 27.95 MB, free: 3.777 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.008485, allocations: 153.5 kB / 28.1 MB, free: 3.602 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.008939, allocations: 0.6809 MB / 28.78 MB, free: 2.895 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.0091, allocations: 27.91 kB / 28.81 MB, free: 2.867 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.009165, allocations: 19.42 kB / 28.83 MB, free: 2.848 MB / 18.59 MB Notification: Performance of SimCode: time 7.12e-07/0.009179, allocations: 0 / 28.83 MB, free: 2.848 MB / 18.59 MB Notification: Performance of Templates: time 0.003541/0.01273, allocations: 472.3 kB / 29.29 MB, free: 2.391 MB / 18.59 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)