Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") translateModel(ConPNlib.Examples.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008312/0.008312, allocations: 1.376 MB / 16.98 MB, free: 5.145 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.402e-05/1.406e-05, allocations: 0 / 23.88 MB, free: 3.934 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000689/0.0007233, allocations: 357.6 kB / 24.23 MB, free: 3.637 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.001299/0.002037, allocations: 0.932 MB / 25.16 MB, free: 2.703 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.003391, allocations: 0.6423 MB / 25.8 MB, free: 2.059 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.003592, allocations: 10.31 kB / 25.81 MB, free: 2.051 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.00383, allocations: 63.52 kB / 25.87 MB, free: 1.988 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005879/0.004434, allocations: 231.2 kB / 26.1 MB, free: 1.762 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 7.063e-05/0.004518, allocations: 18.48 kB / 26.12 MB, free: 1.746 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.004768, allocations: 327 kB / 26.44 MB, free: 1.426 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.004951, allocations: 139.8 kB / 26.57 MB, free: 1.277 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.005054, allocations: 122.7 kB / 26.69 MB, free: 1.16 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.005194, allocations: 127.1 kB / 26.82 MB, free: 1.035 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.005233, allocations: 12 kB / 26.83 MB, free: 1.023 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.005479, allocations: 207.6 kB / 27.03 MB, free: 0.8203 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.005547, allocations: 67.7 kB / 27.1 MB, free: 0.7539 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.005604, allocations: 73.52 kB / 27.17 MB, free: 0.6758 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.005889, allocations: 383.3 kB / 27.54 MB, free: 308 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.005901, allocations: 0 / 27.54 MB, free: 308 kB / 13.93 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005909, allocations: 4 kB / 27.55 MB, free: 304 kB / 13.93 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.005919, allocations: 0 / 27.55 MB, free: 304 kB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006504/0.006574, allocations: 0.6059 MB / 28.15 MB, free: 4.277 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.006616, allocations: 12.3 kB / 28.16 MB, free: 4.266 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.006697, allocations: 40.39 kB / 28.2 MB, free: 4.227 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.007044, allocations: 295.7 kB / 28.49 MB, free: 3.898 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.007095, allocations: 41.25 kB / 28.53 MB, free: 3.863 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.007165, allocations: 44.34 kB / 28.58 MB, free: 3.82 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009898/0.008161, allocations: 0.6407 MB / 29.22 MB, free: 3.16 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.008186, allocations: 2.297 kB / 29.22 MB, free: 3.16 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.008235, allocations: 24.12 kB / 29.24 MB, free: 3.137 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.008304, allocations: 36.97 kB / 29.28 MB, free: 3.102 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006943/0.009005, allocations: 463.6 kB / 29.73 MB, free: 2.648 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.01075, allocations: 1.493 MB / 31.22 MB, free: 1.023 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.01115, allocations: 243 kB / 31.46 MB, free: 0.7773 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.01144, allocations: 193.3 kB / 31.65 MB, free: 0.5859 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004906/0.01635, allocations: 0.5892 MB / 32.24 MB, free: 7.418 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.01639, allocations: 32.19 kB / 32.27 MB, free: 7.379 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.0164, allocations: 1.438 kB / 32.27 MB, free: 7.379 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.0008438/0.01725, allocations: 0.5523 MB / 32.82 MB, free: 7.312 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.0173, allocations: 144.1 kB / 32.97 MB, free: 7.156 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.01744, allocations: 218.2 kB / 33.18 MB, free: 7.047 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.01747, allocations: 38 kB / 33.22 MB, free: 7.016 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.01756, allocations: 213.7 kB / 33.42 MB, free: 6.879 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.01761, allocations: 76.11 kB / 33.5 MB, free: 6.836 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.01764, allocations: 12.88 kB / 33.51 MB, free: 6.836 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.01768, allocations: 331.8 kB / 33.84 MB, free: 6.523 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.01793, allocations: 168.1 kB / 34 MB, free: 6.516 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.01818, allocations: 238.4 kB / 34.23 MB, free: 6.434 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.01842, allocations: 200 kB / 34.43 MB, free: 6.402 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01843, allocations: 3.656 kB / 34.43 MB, free: 6.402 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006241/0.01906, allocations: 0.542 MB / 34.97 MB, free: 6.18 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.01911, allocations: 44.28 kB / 35.02 MB, free: 6.141 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01912, allocations: 0.8125 kB / 35.02 MB, free: 6.141 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.01914, allocations: 7.219 kB / 35.02 MB, free: 6.141 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.01931, allocations: 51.78 kB / 35.07 MB, free: 6.094 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01932, allocations: 4.75 kB / 35.08 MB, free: 6.09 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.01947, allocations: 59.38 kB / 35.14 MB, free: 6.035 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.01951, allocations: 12 kB / 35.15 MB, free: 6.023 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 2 * 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.0001875/0.01971, allocations: 258.4 kB / 35.4 MB, free: 5.762 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.01976, allocations: 23.77 kB / 35.42 MB, free: 5.738 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/0.02043, allocations: 490.4 kB / 35.9 MB, free: 5.262 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.02047, allocations: 4 kB / 35.91 MB, free: 5.258 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.02048, allocations: 4 kB / 35.91 MB, free: 5.254 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02048, allocations: 3.938 kB / 35.92 MB, free: 5.25 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/0.02135, allocations: 0.9341 MB / 36.85 MB, free: 4.262 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.02137, allocations: 1.312 kB / 36.85 MB, free: 4.262 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.02151, allocations: 43.08 kB / 36.89 MB, free: 4.223 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.02152, allocations: 0 / 36.89 MB, free: 4.223 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.02154, allocations: 12 kB / 36.9 MB, free: 4.211 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.02155, allocations: 0 / 36.9 MB, free: 4.211 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.02156, allocations: 6.812 kB / 36.91 MB, free: 4.207 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/0.02234, allocations: 0.7291 MB / 37.64 MB, free: 3.457 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.02238, allocations: 104.8 kB / 37.74 MB, free: 3.336 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.02243, allocations: 15.92 kB / 37.76 MB, free: 3.32 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.02258, allocations: 27.98 kB / 37.79 MB, free: 3.293 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.0227, allocations: 60.47 kB / 37.84 MB, free: 3.234 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.02273, allocations: 13.44 kB / 37.86 MB, free: 3.223 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.537e-05/0.02281, allocations: 149.2 kB / 38 MB, free: 3.078 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02281, allocations: 0 / 38 MB, free: 3.078 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003554/0.02317, allocations: 143.3 kB / 38.14 MB, free: 2.945 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 2 * 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.0002049/0.02338, allocations: 183 kB / 38.32 MB, free: 2.773 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005576/0.02395, allocations: 491.6 kB / 38.8 MB, free: 2.281 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02396, allocations: 0 / 38.8 MB, free: 2.281 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.02423, allocations: 267.2 kB / 39.06 MB, free: 2.008 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.02453, allocations: 40.42 kB / 39.1 MB, free: 1.969 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.02558, allocations: 0.9108 MB / 40.01 MB, free: 1.035 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.02579, allocations: 0.8345 MB / 40.85 MB, free: 180 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.0259, allocations: 63.33 kB / 40.91 MB, free: 116 kB / 18.57 MB Notification: Performance of SimCode: time 2.51e-07/0.02591, allocations: 0 / 40.91 MB, free: 116 kB / 18.57 MB Notification: Performance of Templates: time 0.01132/0.03724, allocations: 5.248 MB / 46.16 MB, free: 2.34 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test5.makefile (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & ./ConPNlib_ConPNlib.Examples.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)