Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01442/0.01442, allocations: 1.337 MB / 8.621 MB, free: 1.648 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 8.767e-06/8.876e-06, allocations: 0 / 12.82 MB, free: 1.109 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009736/0.001011, allocations: 358 kB / 13.17 MB, free: 0.7695 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.009705/0.01074, allocations: 3.291 MB / 16.46 MB, free: 0.5234 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001574/0.01096, allocations: 47.98 kB / 16.51 MB, free: 488 kB / 7.832 MB Notification: Performance of FrontEnd: time 0.05012/0.06109, allocations: 10.43 MB / 26.94 MB, free: 228 kB / 10.45 MB Notification: Performance of Transformations before backend: time 4.02e-05/0.06118, allocations: 20.45 kB / 26.96 MB, free: 228 kB / 10.45 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.001702/0.0629, allocations: 0.8607 MB / 27.82 MB, free: 3.137 MB / 13.95 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.06296, allocations: 11.23 kB / 27.83 MB, free: 3.137 MB / 13.95 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.06327, allocations: 85.88 kB / 27.92 MB, free: 3.098 MB / 13.95 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.06433, allocations: 457 kB / 28.36 MB, free: 2.852 MB / 13.95 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/0.06441, allocations: 33.19 kB / 28.39 MB, free: 2.852 MB / 13.95 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.0646, allocations: 52.03 kB / 28.45 MB, free: 2.852 MB / 13.95 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002047/0.06666, allocations: 0.7853 MB / 29.23 MB, free: 2.629 MB / 13.95 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.06935, allocations: 1.047 MB / 30.28 MB, free: 1.746 MB / 13.95 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.06941, allocations: 0 / 30.28 MB, free: 1.746 MB / 13.95 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.06954, allocations: 5.625 kB / 30.28 MB, free: 1.742 MB / 13.95 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.06969, allocations: 64.02 kB / 30.35 MB, free: 1.691 MB / 13.95 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.07457, allocations: 1.878 MB / 32.22 MB, free: 148 kB / 13.95 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006162/0.08079, allocations: 493.8 kB / 32.71 MB, free: 3.043 MB / 13.95 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/0.08154, allocations: 334.5 kB / 33.03 MB, free: 3.035 MB / 13.95 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/0.08276, allocations: 1.032 MB / 34.06 MB, free: 1.91 MB / 13.95 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.08283, allocations: 41.02 kB / 34.1 MB, free: 1.871 MB / 13.95 MB Notification: Performance of pre-optimization done (n=43): time 4.378e-06/0.08285, allocations: 0 / 34.1 MB, free: 1.871 MB / 13.95 MB Notification: Performance of matching and sorting (n=43): time 0.002099/0.08496, allocations: 0.613 MB / 34.72 MB, free: 1.824 MB / 13.95 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.08511, allocations: 212.9 kB / 34.93 MB, free: 1.605 MB / 13.95 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.08546, allocations: 235.4 kB / 35.16 MB, free: 1.512 MB / 13.95 MB Notification: Performance of collectPreVariables (initialization): time 8.007e-05/0.08556, allocations: 35.64 kB / 35.19 MB, free: 1.48 MB / 13.95 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.08583, allocations: 330.5 kB / 35.51 MB, free: 1.336 MB / 13.95 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.086, allocations: 136.5 kB / 35.65 MB, free: 1.262 MB / 13.95 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.08607, allocations: 4.188 kB / 35.65 MB, free: 1.262 MB / 13.95 MB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.08616, allocations: 341.2 kB / 35.98 MB, free: 0.9492 MB / 13.95 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006958/0.08687, allocations: 273 kB / 36.25 MB, free: 0.9492 MB / 13.95 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.08761, allocations: 425.5 kB / 36.67 MB, free: 0.75 MB / 13.95 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009414/0.08857, allocations: 292.5 kB / 36.95 MB, free: 0.6719 MB / 13.95 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.08859, allocations: 2.875 kB / 36.95 MB, free: 0.6719 MB / 13.95 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002252/0.09085, allocations: 0.7739 MB / 37.73 MB, free: 448 kB / 13.95 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.09092, allocations: 8.547 kB / 37.74 MB, free: 448 kB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.09094, allocations: 7.891 kB / 37.74 MB, free: 448 kB / 13.95 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003616/0.09457, allocations: 443.1 kB / 38.18 MB, free: 224 kB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.09504, allocations: 78.28 kB / 38.25 MB, free: 156 kB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/0.1018, allocations: 0.8629 MB / 39.12 MB, free: 1.902 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.1025, allocations: 70.98 kB / 39.19 MB, free: 1.902 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.1026, allocations: 41.92 kB / 39.23 MB, free: 1.902 MB / 13.95 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 'T1'.speedSumOut[1]:VARIABLE(protected = true ) "Output speeds of continuous output places" type: Real [1] 'P2'.prelimSpeedIn[1]:VARIABLE(protected = true ) "preliminary speed of input transitions" type: Real [1] 'P3'.prelimSpeedIn[1]:VARIABLE(protected = true ) "preliminary speed of input transitions" type: Real [1] 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 () * 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.0003893/0.103, allocations: 241.6 kB / 39.46 MB, free: 1.727 MB / 13.95 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1032, allocations: 34.28 kB / 39.5 MB, free: 1.727 MB / 13.95 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.1054, allocations: 0.7391 MB / 40.23 MB, free: 1.68 MB / 13.95 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/0.1055, allocations: 10.92 kB / 40.25 MB, free: 1.68 MB / 13.95 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1055, allocations: 0 / 40.25 MB, free: 1.68 MB / 13.95 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.1055, allocations: 0 / 40.25 MB, free: 1.68 MB / 13.95 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.1083, allocations: 1.237 MB / 41.48 MB, free: 1.398 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.1083, allocations: 2.812 kB / 41.49 MB, free: 1.398 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.1087, allocations: 41.41 kB / 41.53 MB, free: 1.398 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/0.1104, allocations: 337.8 kB / 41.86 MB, free: 1.391 MB / 13.95 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/0.1105, allocations: 18.22 kB / 41.87 MB, free: 1.391 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.1118, allocations: 0.8844 MB / 42.76 MB, free: 0.875 MB / 13.95 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1118, allocations: 0 / 42.76 MB, free: 0.875 MB / 13.95 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002557/0.1144, allocations: 1.115 MB / 43.87 MB, free: 156 kB / 13.95 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.1145, allocations: 119.1 kB / 43.99 MB, free: 44 kB / 13.95 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.1147, allocations: 12 kB / 44 MB, free: 32 kB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.1152, allocations: 52.84 kB / 44.05 MB, free: 20 kB / 13.95 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006254/0.1158, allocations: 153.3 kB / 44.2 MB, free: 20 kB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/0.116, allocations: 44.66 kB / 44.25 MB, free: 20 kB / 13.95 MB Notification: Performance of sort global known variables: time 0.005565/0.1216, allocations: 175 kB / 44.42 MB, free: 2.523 MB / 13.95 MB Notification: Performance of remove unused functions: time 0.0011/0.1228, allocations: 214 kB / 44.63 MB, free: 2.523 MB / 13.95 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) * 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.0005153/0.1233, allocations: 214.9 kB / 44.84 MB, free: 2.43 MB / 13.95 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.1252, allocations: 0.8407 MB / 45.68 MB, free: 2.363 MB / 13.95 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1252, allocations: 0 / 45.68 MB, free: 2.363 MB / 13.95 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.1264, allocations: 495.5 kB / 46.16 MB, free: 2.293 MB / 13.95 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.1268, allocations: 36.7 kB / 46.2 MB, free: 2.293 MB / 13.95 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.1297, allocations: 1.096 MB / 47.29 MB, free: 2.055 MB / 13.95 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008102/0.1305, allocations: 1.063 MB / 48.35 MB, free: 1.352 MB / 13.95 MB Notification: Performance of SimCode: time 1.172e-06/0.1305, allocations: 0 / 48.35 MB, free: 1.352 MB / 13.95 MB Notification: Performance of Templates: time 0.02852/0.1591, allocations: 8.224 MB / 56.58 MB, free: 2.773 MB / 18.6 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)