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.005259/0.005259, allocations: 1.374 MB / 16.98 MB, free: 5.168 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.611e-05/1.614e-05, allocations: 0 / 23.87 MB, free: 3.953 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005915/0.000629, allocations: 361.4 kB / 24.22 MB, free: 3.652 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0007193/0.001365, allocations: 384.1 kB / 24.6 MB, free: 3.281 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0004175/0.0018, allocations: 157.2 kB / 24.75 MB, free: 3.129 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.001893, allocations: 3.938 kB / 24.76 MB, free: 3.125 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.002051, allocations: 23.8 kB / 24.78 MB, free: 3.102 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.002354, allocations: 44.64 kB / 24.82 MB, free: 3.059 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 5.879e-05/0.002428, allocations: 19.98 kB / 24.84 MB, free: 3.039 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.002583, allocations: 96.36 kB / 24.94 MB, free: 2.945 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 6.326e-05/0.002663, allocations: 10.7 kB / 24.95 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 7.071e-05/0.00275, allocations: 52.41 kB / 25 MB, free: 2.883 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.00283, allocations: 15.88 kB / 25.01 MB, free: 2.867 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.00286, allocations: 5.219 kB / 25.02 MB, free: 2.863 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.002955, allocations: 27.91 kB / 25.05 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.00299, allocations: 3.984 kB / 25.05 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.003024, allocations: 27.52 kB / 25.08 MB, free: 2.801 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 9.872e-05/0.003137, allocations: 31.95 kB / 25.11 MB, free: 2.77 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.003156, allocations: 3.938 kB / 25.11 MB, free: 2.766 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003165, allocations: 0 / 25.11 MB, free: 2.766 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003177, allocations: 0 / 25.11 MB, free: 2.766 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.0003545/0.003541, allocations: 363.6 kB / 25.47 MB, free: 2.355 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.003591, allocations: 13.8 kB / 25.48 MB, free: 2.344 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.003646, allocations: 6.891 kB / 25.49 MB, free: 2.34 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.003816, allocations: 176.8 kB / 25.66 MB, free: 2.129 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.003855, allocations: 4.344 kB / 25.67 MB, free: 2.125 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.00388, allocations: 4.344 kB / 25.67 MB, free: 2.121 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.004021, allocations: 54.19 kB / 25.72 MB, free: 2.062 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.004049, allocations: 176 / 25.72 MB, free: 2.062 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.004073, allocations: 3.016 kB / 25.73 MB, free: 2.062 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004089, allocations: 3.953 kB / 25.73 MB, free: 2.059 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.658e-05/0.004184, allocations: 23.92 kB / 25.75 MB, free: 2.035 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.004745, allocations: 378.2 kB / 26.12 MB, free: 1.598 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 5.498e-05/0.004817, allocations: 26.58 kB / 26.15 MB, free: 1.562 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.004855, allocations: 12.88 kB / 26.16 MB, free: 1.547 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.004874, allocations: 0 / 26.16 MB, free: 1.547 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.004906, allocations: 30.56 kB / 26.19 MB, free: 1.508 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.004922, allocations: 0 / 26.19 MB, free: 1.508 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.005129, allocations: 78.7 kB / 26.27 MB, free: 1.422 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.005174, allocations: 77.11 kB / 26.34 MB, free: 1.328 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.005274, allocations: 118 kB / 26.46 MB, free: 1.203 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.005299, allocations: 25.7 kB / 26.48 MB, free: 1.172 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.00535, allocations: 103.9 kB / 26.58 MB, free: 1.066 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.005372, allocations: 0 / 26.58 MB, free: 1.066 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.005388, allocations: 0 / 26.58 MB, free: 1.066 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 4.74e-05/0.005443, allocations: 314.8 kB / 26.89 MB, free: 0.75 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.00549, allocations: 11.98 kB / 26.9 MB, free: 0.7383 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.005541, allocations: 17.72 kB / 26.92 MB, free: 0.7148 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.005606, allocations: 41.7 kB / 26.96 MB, free: 0.668 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.005622, allocations: 0 / 26.96 MB, free: 0.668 MB / 13.93 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001631/0.005793, allocations: 95.17 kB / 27.05 MB, free: 0.5625 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.005838, allocations: 33.7 kB / 27.09 MB, free: 0.5234 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.005857, allocations: 5.438 kB / 27.09 MB, free: 0.5195 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.005878, allocations: 0 / 27.09 MB, free: 0.5195 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.005972, allocations: 7.984 kB / 27.1 MB, free: 0.5117 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.005995, allocations: 4 kB / 27.1 MB, free: 0.5078 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.006067, allocations: 7.875 kB / 27.11 MB, free: 0.5 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.006099, allocations: 8.344 kB / 27.12 MB, free: 0.4922 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 8.934e-05/0.0062, allocations: 148.3 kB / 27.27 MB, free: 340 kB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.006254, allocations: 3.953 kB / 27.27 MB, free: 336 kB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.006288, allocations: 7.891 kB / 27.28 MB, free: 320 kB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006301, allocations: 0 / 27.28 MB, free: 320 kB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.006314, allocations: 1.547 kB / 27.28 MB, free: 320 kB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006326, allocations: 0 / 27.28 MB, free: 320 kB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.006511, allocations: 157.7 kB / 27.43 MB, free: 112 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.006528, allocations: 128 / 27.43 MB, free: 112 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.006555, allocations: 12 kB / 27.44 MB, free: 100 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.006567, allocations: 0 / 27.44 MB, free: 100 kB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.006584, allocations: 3.953 kB / 27.45 MB, free: 96 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006594, allocations: 0 / 27.45 MB, free: 96 kB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006602, allocations: 0 / 27.45 MB, free: 96 kB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.006781, allocations: 177.1 kB / 27.62 MB, free: 4.543 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.006857, allocations: 77.11 kB / 27.7 MB, free: 4.449 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.006898, allocations: 4 kB / 27.7 MB, free: 4.445 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.007008, allocations: 11.73 kB / 27.71 MB, free: 4.438 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.007038, allocations: 0 / 27.71 MB, free: 4.438 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.007052, allocations: 0 / 27.71 MB, free: 4.438 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.621e-05/0.007135, allocations: 95.25 kB / 27.8 MB, free: 4.344 MB / 18.57 MB Notification: Performance of sort global known variables: time 2.51e-07/0.00715, allocations: 0 / 27.8 MB, free: 4.344 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004083/0.007568, allocations: 16 kB / 27.82 MB, free: 4.328 MB / 18.57 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.000169/0.007753, allocations: 107.6 kB / 27.93 MB, free: 4.215 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.007941, allocations: 75.42 kB / 28 MB, free: 4.129 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.007964, allocations: 4.062 kB / 28 MB, free: 4.125 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.008042, allocations: 67.34 kB / 28.07 MB, free: 4.047 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.008394, allocations: 0 / 28.07 MB, free: 4.047 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.008883, allocations: 175 kB / 28.24 MB, free: 3.844 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.009225, allocations: 0.677 MB / 28.92 MB, free: 3.141 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.009347, allocations: 35.41 kB / 28.95 MB, free: 3.105 MB / 18.57 MB Notification: Performance of SimCode: time 3.8e-07/0.009363, allocations: 0 / 28.95 MB, free: 3.105 MB / 18.57 MB Notification: Performance of Templates: time 0.002905/0.01228, allocations: 0.7588 MB / 29.71 MB, free: 2.348 MB / 18.57 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)