Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") translateModel(ConPNlib.Examples.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008606/0.008606, allocations: 1.365 MB / 17.31 MB, free: 4.523 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.39e-05/1.399e-05, allocations: 0 / 24.32 MB, free: 3.152 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005868/0.0006213, allocations: 354.2 kB / 24.67 MB, free: 2.828 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005024/0.005659, allocations: 4.138 MB / 28.81 MB, free: 3.328 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001096/0.005789, allocations: 51.86 kB / 28.86 MB, free: 3.281 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.04343/0.04923, allocations: 10.82 MB / 39.67 MB, free: 1.75 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.545e-06/0.04928, allocations: 0 / 39.67 MB, free: 1.75 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.12e-05/0.04933, allocations: 18.47 kB / 39.69 MB, free: 1.734 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001559/0.0509, allocations: 0.8691 MB / 40.56 MB, free: 0.8047 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.05096, allocations: 8.312 kB / 40.57 MB, free: 0.7969 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.05129, allocations: 80.09 kB / 40.65 MB, free: 0.7188 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.05228, allocations: 469.8 kB / 41.11 MB, free: 220 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/0.05238, allocations: 66.36 kB / 41.17 MB, free: 156 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.05264, allocations: 96.3 kB / 41.27 MB, free: 60 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/0.07042, allocations: 1.176 MB / 42.44 MB, free: 1.621 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.07051, allocations: 4.812 kB / 42.45 MB, free: 1.621 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.07067, allocations: 39.92 kB / 42.48 MB, free: 1.621 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.07082, allocations: 59.33 kB / 42.54 MB, free: 1.621 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.07283, allocations: 0.8294 MB / 43.37 MB, free: 1.613 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003924/0.07677, allocations: 2.045 MB / 45.42 MB, free: 1.047 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.07793, allocations: 0.5657 MB / 45.98 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.07867, allocations: 362.7 kB / 46.34 MB, free: 0.6523 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.07972, allocations: 1.028 MB / 47.37 MB, free: 5.723 MB / 24.78 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.07979, allocations: 37.89 kB / 47.4 MB, free: 5.684 MB / 24.78 MB Notification: Performance of pre-optimization done (n=43): time 4.228e-06/0.0798, allocations: 0 / 47.4 MB, free: 5.684 MB / 24.78 MB Notification: Performance of matching and sorting (n=43): time 0.004544/0.08435, allocations: 1.375 MB / 48.78 MB, free: 4.84 MB / 24.78 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002129/0.08459, allocations: 227.2 kB / 49 MB, free: 4.582 MB / 24.78 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.08515, allocations: 311.5 kB / 49.3 MB, free: 4.316 MB / 24.78 MB Notification: Performance of collectPreVariables (initialization): time 7.477e-05/0.08524, allocations: 37.7 kB / 49.34 MB, free: 4.273 MB / 24.78 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.08563, allocations: 336 kB / 49.67 MB, free: 3.992 MB / 24.78 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.08585, allocations: 135.6 kB / 49.8 MB, free: 3.879 MB / 24.78 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.08592, allocations: 18.84 kB / 49.82 MB, free: 3.863 MB / 24.78 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.08612, allocations: 348.2 kB / 50.16 MB, free: 3.527 MB / 24.78 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007787/0.08691, allocations: 299.2 kB / 50.45 MB, free: 3.285 MB / 24.78 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000982/0.08791, allocations: 455.1 kB / 50.9 MB, free: 2.832 MB / 24.78 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.0893, allocations: 0.7768 MB / 51.67 MB, free: 2.051 MB / 24.78 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.08932, allocations: 0 / 51.67 MB, free: 2.051 MB / 24.78 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001798/0.09113, allocations: 1.056 MB / 52.73 MB, free: 1.109 MB / 24.78 MB Notification: Performance of prepare postOptimizeDAE: time 8.37e-05/0.09122, allocations: 90.86 kB / 52.82 MB, free: 1.016 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.09125, allocations: 4 kB / 52.82 MB, free: 1.012 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.09313, allocations: 453.2 kB / 53.26 MB, free: 0.6758 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.09338, allocations: 75.84 kB / 53.34 MB, free: 0.6094 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.1038, allocations: 0.7887 MB / 54.13 MB, free: 6.262 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.1041, allocations: 84.77 kB / 54.21 MB, free: 6.262 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.1042, allocations: 45.81 kB / 54.25 MB, free: 6.262 MB / 24.78 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.'P1'.fireOut[1],'P1'.emptying,$PRE.'P3'.fireIn[1],'P3'.feeding,'P3'.emptying,'P2'.outTransition[1].arcType,'P1'.feeding,'P1'.outTransition[1].arcType,'P1'.fireOut[1],'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],$PRE.'P2'.fireIn[1],'P2'.fireIn[1],$PRE.'P2'.fireOut[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'T1'.activation.arcType[1],'T1'.activation.fed[1],'T2'.activation.arcType[1],'T2'.activation.emptied[1],'T2'.outPlaces[1].enabledByInPlaces,'T1'.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004628/0.1047, allocations: 395 kB / 54.64 MB, free: 6.082 MB / 24.78 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.1048, allocations: 34.53 kB / 54.67 MB, free: 6.082 MB / 24.78 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.1062, allocations: 0.9938 MB / 55.67 MB, free: 5.977 MB / 24.78 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.1062, allocations: 6.969 kB / 55.67 MB, free: 5.977 MB / 24.78 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1062, allocations: 0 / 55.67 MB, free: 5.977 MB / 24.78 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.1063, allocations: 2.672 kB / 55.68 MB, free: 5.977 MB / 24.78 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.1082, allocations: 1.638 MB / 57.32 MB, free: 5.598 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1082, allocations: 3.219 kB / 57.32 MB, free: 5.598 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.1084, allocations: 43.52 kB / 57.36 MB, free: 5.598 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009807/0.1094, allocations: 361.7 kB / 57.71 MB, free: 5.59 MB / 24.78 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.1095, allocations: 20.78 kB / 57.73 MB, free: 5.59 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005479/0.11, allocations: 0.8183 MB / 58.55 MB, free: 5.07 MB / 24.78 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.11, allocations: 0 / 58.55 MB, free: 5.07 MB / 24.78 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.1117, allocations: 1.381 MB / 59.93 MB, free: 4.715 MB / 24.78 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.1118, allocations: 115.8 kB / 60.05 MB, free: 4.617 MB / 24.78 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.1118, allocations: 26.52 kB / 60.07 MB, free: 4.609 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.1121, allocations: 50.45 kB / 60.12 MB, free: 4.602 MB / 24.78 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.1123, allocations: 120.9 kB / 60.24 MB, free: 4.57 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.1123, allocations: 35.53 kB / 60.27 MB, free: 4.562 MB / 24.78 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1125, allocations: 196.4 kB / 60.47 MB, free: 4.453 MB / 24.78 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1125, allocations: 0 / 60.47 MB, free: 4.453 MB / 24.78 MB Notification: Performance of remove unused functions: time 0.0006357/0.1131, allocations: 235.7 kB / 60.7 MB, free: 4.316 MB / 24.78 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 ('P1'.t_,'P2'.t_,'P3'.t_) * Number of discrete variables: 14 ('P1'.fireOut[1],'P1'.emptying,'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],'P2'.fireIn[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'P3'.feeding) * Number of discrete states: 10 ('P3'.fireIn[1],'P2'.fireOut[1],'P2'.fireIn[1],'P1'.fireOut[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'T2'.activation.weaklyOutputActiveVec[1],'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003547/0.1135, allocations: 217.1 kB / 60.91 MB, free: 4.137 MB / 24.78 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.1147, allocations: 0.9583 MB / 61.87 MB, free: 3.297 MB / 24.78 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1148, allocations: 4 kB / 61.87 MB, free: 3.293 MB / 24.78 MB Notification: Performance of simCode: created simulation system equations: time 0.0006989/0.1155, allocations: 0.5609 MB / 62.43 MB, free: 2.781 MB / 24.78 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.1159, allocations: 68.53 kB / 62.5 MB, free: 2.73 MB / 24.78 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.1178, allocations: 1.572 MB / 64.07 MB, free: 1.32 MB / 24.78 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.1183, allocations: 1.019 MB / 65.09 MB, free: 400 kB / 24.78 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.1185, allocations: 92.59 kB / 65.18 MB, free: 340 kB / 24.78 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.12e-05/0.1186, allocations: 35.44 kB / 65.21 MB, free: 304 kB / 24.78 MB Notification: Performance of SimCode: time 4.7e-07/0.1186, allocations: 0 / 65.21 MB, free: 304 kB / 24.78 MB Notification: Performance of Templates: time 0.02173/0.1403, allocations: 7.872 MB / 73.09 MB, free: 2.996 MB / 24.78 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test11.makefile (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & ./ConPNlib_ConPNlib.Examples.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)