Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00153/0.00153, allocations: 192.5 kB / 8.136 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.177/1.177, allocations: 194.2 MB / 202.8 MB, free: 8.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0017/0.0017, allocations: 126.7 kB / 247.8 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1667/0.1667, allocations: 37.92 MB / 330.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.283e-06/7.314e-06, allocations: 0 / 389.8 MB, free: 78.13 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09336, allocations: 53.23 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2923/0.3857, allocations: 92.85 MB / 0.5233 GB, free: 9.609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.386, allocations: 87.17 kB / 0.5234 GB, free: 9.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02838/0.4144, allocations: 9.69 MB / 0.5329 GB, free: 5.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.722e-05/0.4145, allocations: 11.94 kB / 0.5329 GB, free: 5.586 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0013/0.4158, allocations: 0.719 MB / 0.5336 GB, free: 4.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4159, allocations: 8.031 kB / 0.5336 GB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.416, allocations: 55.34 kB / 0.5336 GB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.4184, allocations: 0.8744 MB / 0.5345 GB, free: 4.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.4184, allocations: 18.34 kB / 0.5345 GB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.4185, allocations: 24 kB / 0.5345 GB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005886/0.4191, allocations: 334.7 kB / 0.5348 GB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.4197, allocations: 416.3 kB / 0.5352 GB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4197, allocations: 3.938 kB / 0.5352 GB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.4197, allocations: 7.938 kB / 0.5353 GB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.4197, allocations: 8 kB / 0.5353 GB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.4218, allocations: 1.65 MB / 0.5369 GB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.4221, allocations: 199.1 kB / 0.5371 GB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.4226, allocations: 213.8 kB / 0.5373 GB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.4226, allocations: 4.234 kB / 0.5373 GB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.4229, allocations: 258.6 kB / 0.5375 GB, free: 1.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.4229, allocations: 0 / 0.5375 GB, free: 1.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001412/0.4243, allocations: 0.8842 MB / 0.5384 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.4244, allocations: 141.1 kB / 0.5385 GB, free: 448 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.4247, allocations: 308.8 kB / 0.5388 GB, free: 196 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.4247, allocations: 29.73 kB / 0.5388 GB, free: 160 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4248, allocations: 216.6 kB / 0.539 GB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.439e-05/0.4249, allocations: 108.4 kB / 0.5392 GB, free: 15.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.425, allocations: 0 / 0.5392 GB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4251, allocations: 352.1 kB / 0.5395 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.4253, allocations: 118.2 kB / 0.5396 GB, free: 15.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.4256, allocations: 244.2 kB / 0.5398 GB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.4258, allocations: 150.6 kB / 0.54 GB, free: 15.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4258, allocations: 4 kB / 0.54 GB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007811/0.4266, allocations: 462.5 kB / 0.5404 GB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4267, allocations: 8 kB / 0.5404 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4267, allocations: 4 kB / 0.5404 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.4269, allocations: 85.05 kB / 0.5405 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.4273, allocations: 71.47 kB / 0.5406 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.4295, allocations: 2.637 MB / 0.5432 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.4299, allocations: 19.89 kB / 0.5432 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.4299, allocations: 18.17 kB / 0.5432 GB, free: 11.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.4301, allocations: 161.6 kB / 0.5433 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.4302, allocations: 39.53 kB / 0.5434 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.4309, allocations: 406.1 kB / 0.5438 GB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4309, allocations: 4 kB / 0.5438 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4309, allocations: 4 kB / 0.5438 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4309, allocations: 4 kB / 0.5438 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.4324, allocations: 0.8952 MB / 0.5447 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4324, allocations: 4 kB / 0.5447 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.4326, allocations: 39.92 kB / 0.5447 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.4329, allocations: 81.66 kB / 0.5448 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.4329, allocations: 7.984 kB / 0.5448 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/0.4356, allocations: 2.636 MB / 0.5474 GB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4356, allocations: 0 / 0.5474 GB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001064/0.4367, allocations: 0.6981 MB / 0.548 GB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.4368, allocations: 108.6 kB / 0.5481 GB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.659e-05/0.4369, allocations: 11.69 kB / 0.5482 GB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.4372, allocations: 16.05 kB / 0.5482 GB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4373, allocations: 38.41 kB / 0.5482 GB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.4374, allocations: 14.67 kB / 0.5482 GB, free: 6.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002826/0.4377, allocations: 238.6 kB / 0.5484 GB, free: 6.668 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005803/0.4382, allocations: 110.4 kB / 0.5486 GB, free: 6.562 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002128/0.4385, allocations: 121.4 kB / 0.5487 GB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009209/0.4394, allocations: 0.5628 MB / 0.5492 GB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4394, allocations: 4.938 kB / 0.5492 GB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006435/0.4401, allocations: 434.9 kB / 0.5496 GB, free: 5.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.4406, allocations: 74.67 kB / 0.5497 GB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4421, allocations: 0.7117 MB / 0.5504 GB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.4428, allocations: 0.9135 MB / 0.5513 GB, free: 3.891 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4428, allocations: 0 / 0.5513 GB, free: 3.891 MB / 362.7 MB Notification: Performance of Templates: time 0.01041/0.4532, allocations: 4.999 MB / 0.5562 GB, free: 14.96 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1)