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.01199/0.01199, allocations: 1.366 MB / 16.33 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.924e-05, allocations: 4 kB / 23.24 MB, free: 4.027 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009707/0.001009, allocations: 360.5 kB / 23.59 MB, free: 3.871 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0008878/0.001912, allocations: 387.1 kB / 23.97 MB, free: 3.688 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0003911/0.002317, allocations: 157.1 kB / 24.12 MB, free: 3.535 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.00241, allocations: 3.938 kB / 24.12 MB, free: 3.531 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.00256, allocations: 24.59 kB / 24.15 MB, free: 3.508 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.002835, allocations: 41.84 kB / 24.19 MB, free: 3.469 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 5.42e-05/0.002903, allocations: 20.69 kB / 24.21 MB, free: 3.449 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.003061, allocations: 98.7 kB / 24.3 MB, free: 3.355 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 7.77e-05/0.003149, allocations: 9.953 kB / 24.31 MB, free: 3.344 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 7.157e-05/0.003231, allocations: 43.84 kB / 24.36 MB, free: 3.301 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.003316, allocations: 23.84 kB / 24.38 MB, free: 3.277 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.00334, allocations: 0 / 24.38 MB, free: 3.277 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.003436, allocations: 31.91 kB / 24.41 MB, free: 3.246 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.003466, allocations: 0 / 24.41 MB, free: 3.246 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.0035, allocations: 29.7 kB / 24.44 MB, free: 3.211 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.003612, allocations: 39.94 kB / 24.48 MB, free: 3.172 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003625, allocations: 3.938 kB / 24.48 MB, free: 3.168 MB / 13.93 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003633, allocations: 0 / 24.48 MB, free: 3.168 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.003644, allocations: 0 / 24.48 MB, free: 3.168 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.0003687/0.004019, allocations: 361.1 kB / 24.84 MB, free: 2.758 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.004067, allocations: 12.3 kB / 24.85 MB, free: 2.746 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.004116, allocations: 4.766 kB / 24.85 MB, free: 2.742 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.004266, allocations: 176.2 kB / 25.02 MB, free: 2.531 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.004294, allocations: 9.406 kB / 25.03 MB, free: 2.523 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.004317, allocations: 352 / 25.03 MB, free: 2.523 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.004449, allocations: 50.2 kB / 25.08 MB, free: 2.469 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004468, allocations: 176 / 25.08 MB, free: 2.469 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.004488, allocations: 352 / 25.08 MB, free: 2.469 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.0045, allocations: 3.953 kB / 25.09 MB, free: 2.465 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.004581, allocations: 27.91 kB / 25.11 MB, free: 2.438 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.005114, allocations: 374.2 kB / 25.48 MB, free: 2.004 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.005182, allocations: 30.56 kB / 25.51 MB, free: 1.965 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.005214, allocations: 15.19 kB / 25.53 MB, free: 1.949 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.005233, allocations: 1.969 kB / 25.53 MB, free: 1.949 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.005256, allocations: 30.56 kB / 25.56 MB, free: 1.91 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.005264, allocations: 0 / 25.56 MB, free: 1.91 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0002129/0.005484, allocations: 71.34 kB / 25.63 MB, free: 1.828 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.005529, allocations: 81.22 kB / 25.71 MB, free: 1.73 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.005623, allocations: 118.6 kB / 25.82 MB, free: 1.605 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.005642, allocations: 25.7 kB / 25.85 MB, free: 1.574 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.005689, allocations: 95.95 kB / 25.94 MB, free: 1.477 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-06/0.005703, allocations: 0 / 25.94 MB, free: 1.477 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.005715, allocations: 0 / 25.94 MB, free: 1.477 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.005771, allocations: 318.8 kB / 26.25 MB, free: 1.156 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.005806, allocations: 8 kB / 26.26 MB, free: 1.148 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.935e-05/0.005853, allocations: 25.7 kB / 26.28 MB, free: 1.117 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.553e-05/0.005908, allocations: 44.64 kB / 26.33 MB, free: 1.07 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.00592, allocations: 0 / 26.33 MB, free: 1.07 MB / 13.93 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001335/0.006061, allocations: 96.72 kB / 26.42 MB, free: 0.9648 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.006106, allocations: 33.7 kB / 26.46 MB, free: 0.9258 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.006122, allocations: 0 / 26.46 MB, free: 0.9258 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.006143, allocations: 4 kB / 26.46 MB, free: 0.9219 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.006237, allocations: 7.984 kB / 26.47 MB, free: 0.9141 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.006257, allocations: 4 kB / 26.47 MB, free: 0.9102 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.006318, allocations: 7.969 kB / 26.48 MB, free: 0.9023 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.006341, allocations: 4.312 kB / 26.48 MB, free: 0.8984 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 7.665e-05/0.006425, allocations: 140.4 kB / 26.62 MB, free: 0.7461 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.006469, allocations: 3.953 kB / 26.62 MB, free: 0.7422 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.006502, allocations: 7.875 kB / 26.63 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.006515, allocations: 4 kB / 26.64 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.006527, allocations: 0 / 26.64 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.006538, allocations: 0 / 26.64 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.006695, allocations: 161.6 kB / 26.79 MB, free: 0.5156 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006705, allocations: 0 / 26.79 MB, free: 0.5156 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.006728, allocations: 8.5 kB / 26.8 MB, free: 0.5078 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.006738, allocations: 0 / 26.8 MB, free: 0.5078 MB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.006754, allocations: 5.266 kB / 26.81 MB, free: 0.5039 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006761, allocations: 128 / 26.81 MB, free: 0.5039 MB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.006771, allocations: 7.984 kB / 26.81 MB, free: 0.4961 MB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.006887, allocations: 173.1 kB / 26.98 MB, free: 312 kB / 13.93 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.00693, allocations: 81.09 kB / 27.06 MB, free: 212 kB / 13.93 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.006958, allocations: 32 / 27.06 MB, free: 212 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.007045, allocations: 11.95 kB / 27.07 MB, free: 200 kB / 13.93 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.007079, allocations: 0 / 27.07 MB, free: 200 kB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.00709, allocations: 0 / 27.07 MB, free: 200 kB / 13.93 MB Notification: Performance of sorting global known variables: time 4.609e-05/0.007143, allocations: 95.25 kB / 27.17 MB, free: 104 kB / 13.93 MB Notification: Performance of sort global known variables: time 1.4e-07/0.007151, allocations: 0 / 27.17 MB, free: 104 kB / 13.93 MB Notification: Performance of remove unused functions: time 0.0003468/0.007506, allocations: 8 kB / 27.18 MB, free: 96 kB / 13.93 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.0001712/0.00769, allocations: 115.3 kB / 27.29 MB, free: 4.637 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.007863, allocations: 75.39 kB / 27.36 MB, free: 4.551 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.007881, allocations: 0 / 27.36 MB, free: 4.551 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 5.903e-05/0.007948, allocations: 75.27 kB / 27.44 MB, free: 4.465 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.008276, allocations: 0 / 27.44 MB, free: 4.465 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.008755, allocations: 145.3 kB / 27.58 MB, free: 4.297 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.009077, allocations: 0.677 MB / 28.25 MB, free: 3.594 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.000121/0.009209, allocations: 40.02 kB / 28.29 MB, free: 3.555 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.009259, allocations: 19.42 kB / 28.31 MB, free: 3.535 MB / 18.59 MB Notification: Performance of SimCode: time 2.91e-07/0.009268, allocations: 0 / 28.31 MB, free: 3.535 MB / 18.59 MB Notification: Performance of Templates: time 0.003059/0.01233, allocations: 479.4 kB / 28.78 MB, free: 3.07 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)