Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009066/0.009071, allocations: 1.344 MB / 13.9 MB, free: 1.395 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.702e-05, allocations: 7.984 kB / 19.24 MB, free: 2.086 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006539/0.0006943, allocations: 358.8 kB / 19.59 MB, free: 1.766 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0148/0.01551, allocations: 4.006 MB / 23.59 MB, free: 2.828 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001374/0.0157, allocations: 48.05 kB / 23.64 MB, free: 2.809 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.02227/0.03799, allocations: 5.19 MB / 28.83 MB, free: 2.406 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.994e-06/0.03804, allocations: 0 / 28.83 MB, free: 2.406 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.255e-05/0.03807, allocations: 4 kB / 28.83 MB, free: 2.402 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009539/0.03904, allocations: 0.4963 MB / 29.33 MB, free: 1.859 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.03911, allocations: 12.31 kB / 29.34 MB, free: 1.848 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.03923, allocations: 24.56 kB / 29.37 MB, free: 1.824 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.03972, allocations: 248.5 kB / 29.61 MB, free: 1.543 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.03978, allocations: 20.91 kB / 29.63 MB, free: 1.523 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.03986, allocations: 24.33 kB / 29.65 MB, free: 1.5 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.04075, allocations: 318.4 kB / 29.96 MB, free: 1.176 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.04079, allocations: 4 kB / 29.97 MB, free: 1.172 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.04085, allocations: 19.88 kB / 29.99 MB, free: 1.152 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.04092, allocations: 12.44 kB / 30 MB, free: 1.141 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.0415, allocations: 201.6 kB / 30.2 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.04318, allocations: 0.7317 MB / 30.93 MB, free: 164 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.04358, allocations: 114.5 kB / 31.04 MB, free: 40 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01224/0.05584, allocations: 82.03 kB / 31.12 MB, free: 3.852 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004941/0.05639, allocations: 435.8 kB / 31.54 MB, free: 3.383 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.05645, allocations: 34.62 kB / 31.58 MB, free: 3.344 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 3.477e-06/0.05646, allocations: 0 / 31.58 MB, free: 3.344 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0006742/0.05714, allocations: 219.7 kB / 31.79 MB, free: 3.281 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.05724, allocations: 111.1 kB / 31.9 MB, free: 3.156 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.05744, allocations: 145.1 kB / 32.04 MB, free: 3.059 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.05748, allocations: 30.17 kB / 32.07 MB, free: 3.027 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.05759, allocations: 148.1 kB / 32.22 MB, free: 2.934 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.05766, allocations: 43.45 kB / 32.26 MB, free: 2.914 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.05769, allocations: 4.75 kB / 32.26 MB, free: 2.914 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.05776, allocations: 321.8 kB / 32.58 MB, free: 2.602 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.05795, allocations: 72.31 kB / 32.65 MB, free: 2.598 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.05816, allocations: 127.5 kB / 32.77 MB, free: 2.535 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.05836, allocations: 94.56 kB / 32.87 MB, free: 2.504 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.05838, allocations: 0 / 32.87 MB, free: 2.504 MB / 18.57 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005851/0.05898, allocations: 276.8 kB / 33.14 MB, free: 2.438 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.05905, allocations: 37.08 kB / 33.17 MB, free: 2.406 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.05907, allocations: 2.297 kB / 33.17 MB, free: 2.406 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.0591, allocations: 7.422 kB / 33.18 MB, free: 2.406 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.05934, allocations: 30.05 kB / 33.21 MB, free: 2.406 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.05936, allocations: 7.891 kB / 33.22 MB, free: 2.402 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.05954, allocations: 23.47 kB / 33.24 MB, free: 2.398 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.0596, allocations: 14.14 kB / 33.26 MB, free: 2.398 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireIn[1],P1.feeding,P1.emptying,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 1 * 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.0001453/0.05975, allocations: 158 kB / 33.41 MB, free: 2.258 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.05983, allocations: 10.84 kB / 33.42 MB, free: 2.254 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008078/0.06064, allocations: 307.3 kB / 33.72 MB, free: 2.188 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.0607, allocations: 3.594 kB / 33.72 MB, free: 2.188 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.06072, allocations: 7 kB / 33.73 MB, free: 2.188 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.06073, allocations: 6.562 kB / 33.74 MB, free: 2.188 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009884/0.06173, allocations: 0.5887 MB / 34.33 MB, free: 1.855 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.06178, allocations: 0 / 34.33 MB, free: 1.855 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.062, allocations: 21.08 kB / 34.35 MB, free: 1.855 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.06202, allocations: 0 / 34.35 MB, free: 1.855 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.06205, allocations: 6.734 kB / 34.35 MB, free: 1.855 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.06207, allocations: 0 / 34.35 MB, free: 1.855 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.06208, allocations: 3.75 kB / 34.36 MB, free: 1.855 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.06283, allocations: 432.3 kB / 34.78 MB, free: 1.688 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.06291, allocations: 93.66 kB / 34.87 MB, free: 1.586 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.06297, allocations: 13.62 kB / 34.88 MB, free: 1.586 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.06316, allocations: 8.281 kB / 34.89 MB, free: 1.586 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.06333, allocations: 41.52 kB / 34.93 MB, free: 1.586 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.06338, allocations: 12.44 kB / 34.94 MB, free: 1.586 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001012/0.06349, allocations: 112.7 kB / 35.05 MB, free: 1.508 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.6e-07/0.0635, allocations: 0 / 35.05 MB, free: 1.508 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005499/0.06406, allocations: 89.62 kB / 35.14 MB, free: 1.508 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 1 * 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.0003706/0.06445, allocations: 157.1 kB / 35.3 MB, free: 1.418 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005635/0.06503, allocations: 250.2 kB / 35.54 MB, free: 1.352 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.06505, allocations: 0 / 35.54 MB, free: 1.352 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.06531, allocations: 157.6 kB / 35.69 MB, free: 1.289 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.06563, allocations: 25.17 kB / 35.72 MB, free: 1.281 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.06655, allocations: 330.5 kB / 36.04 MB, free: 1.164 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.06684, allocations: 0.7724 MB / 36.81 MB, free: 472 kB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002546/0.06711, allocations: 58.5 kB / 36.87 MB, free: 468 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.06723, allocations: 37.81 kB / 36.91 MB, free: 456 kB / 18.57 MB Notification: Performance of SimCode: time 1.162e-06/0.06724, allocations: 4 kB / 36.91 MB, free: 452 kB / 18.57 MB Notification: Performance of Templates: time 0.02284/0.09008, allocations: 2.356 MB / 39.27 MB, free: 2.695 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test3.makefile (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & ./ConPNlib_ConPNlib.Examples.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)