Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") [: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.001506/0.001506, allocations: 190 kB / 8.132 MB, free: 2.199 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.247/1.247, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001533/0.001533, allocations: 115.4 kB / 247.7 MB, free: 6.395 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1728/0.1728, allocations: 37.92 MB / 330.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.153e-06/7.383e-06, allocations: 0 / 389.8 MB, free: 78.13 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.08744, allocations: 53.23 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2984/0.3859, allocations: 95.16 MB / 0.5256 GB, free: 9.324 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.3862, allocations: 84.8 kB / 0.5257 GB, free: 9.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03514/0.4214, allocations: 12.15 MB / 0.5375 GB, free: 2.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.4214, allocations: 8 kB / 0.5375 GB, free: 2.109 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001308/0.4227, allocations: 0.6754 MB / 0.5382 GB, free: 1.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4228, allocations: 8.031 kB / 0.5382 GB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000686/0.4235, allocations: 95.27 kB / 0.5383 GB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.4256, allocations: 0.8432 MB / 0.5391 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.4256, allocations: 12 kB / 0.5391 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.4257, allocations: 31.91 kB / 0.5392 GB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006265/0.4263, allocations: 371.2 kB / 0.5395 GB, free: 304 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/0.4271, allocations: 0.5764 MB / 0.5401 GB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.4271, allocations: 3.938 kB / 0.5401 GB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.4272, allocations: 4 kB / 0.5401 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/0.4272, allocations: 20.78 kB / 0.5401 GB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.4306, allocations: 2.843 MB / 0.5429 GB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.4309, allocations: 186.8 kB / 0.5431 GB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.4311, allocations: 127.9 kB / 0.5432 GB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.4312, allocations: 14.33 kB / 0.5432 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.4312, allocations: 37.75 kB / 0.5432 GB, free: 12.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.275e-06/0.4312, allocations: 0 / 0.5432 GB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001467/0.4327, allocations: 0.8458 MB / 0.5441 GB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.4327, allocations: 81.3 kB / 0.5441 GB, free: 11.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.433, allocations: 279.8 kB / 0.5444 GB, free: 11.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.4331, allocations: 25.7 kB / 0.5444 GB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.4332, allocations: 267.3 kB / 0.5447 GB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.4333, allocations: 88.31 kB / 0.5448 GB, free: 11.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.4333, allocations: 0 / 0.5448 GB, free: 11.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4335, allocations: 348.3 kB / 0.5451 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.4337, allocations: 135 kB / 0.5452 GB, free: 10.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.434, allocations: 320.4 kB / 0.5455 GB, free: 10.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.4343, allocations: 208 kB / 0.5457 GB, free: 10.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4344, allocations: 0 / 0.5457 GB, free: 10.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001024/0.4354, allocations: 0.5545 MB / 0.5463 GB, free: 9.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4354, allocations: 4 kB / 0.5463 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006043/0.436, allocations: 320 kB / 0.5466 GB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/0.4364, allocations: 83.23 kB / 0.5467 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.4368, allocations: 87.14 kB / 0.5467 GB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.4382, allocations: 1.514 MB / 0.5482 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.4386, allocations: 8 kB / 0.5482 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.4386, allocations: 31.78 kB / 0.5483 GB, free: 7.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 1 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.4387, allocations: 120.1 kB / 0.5484 GB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.4388, allocations: 35.69 kB / 0.5484 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006011/0.4394, allocations: 343.4 kB / 0.5487 GB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4394, allocations: 8 kB / 0.5487 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.4394, allocations: 0 / 0.5487 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4395, allocations: 3.906 kB / 0.5487 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.4408, allocations: 0.7938 MB / 0.5495 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4408, allocations: 0 / 0.5495 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.4412, allocations: 58.78 kB / 0.5496 GB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4412, allocations: 0 / 0.5496 GB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.4412, allocations: 7.984 kB / 0.5496 GB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4412, allocations: 0 / 0.5496 GB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4412, allocations: 7.938 kB / 0.5496 GB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007/0.4419, allocations: 0.5876 MB / 0.5502 GB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.4421, allocations: 104.7 kB / 0.5503 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.4421, allocations: 7.984 kB / 0.5503 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.4424, allocations: 8 kB / 0.5503 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.4424, allocations: 24.02 kB / 0.5503 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.4425, allocations: 4 kB / 0.5503 GB, free: 6.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001924/0.4427, allocations: 210.5 kB / 0.5505 GB, free: 5.949 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005405/0.4432, allocations: 99.69 kB / 0.5506 GB, free: 5.855 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001885/0.4434, allocations: 115.2 kB / 0.5507 GB, free: 5.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007317/0.4441, allocations: 458.7 kB / 0.5511 GB, free: 5.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4442, allocations: 4 kB / 0.5511 GB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.4444, allocations: 136.9 kB / 0.5513 GB, free: 5.262 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4448, allocations: 53.56 kB / 0.5513 GB, free: 5.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.4464, allocations: 0.7677 MB / 0.5521 GB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/0.447, allocations: 0.9117 MB / 0.553 GB, free: 3.57 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.447, allocations: 0 / 0.553 GB, free: 3.57 MB / 362.7 MB Notification: Performance of Templates: time 0.008957/0.456, allocations: 3.808 MB / 0.5567 GB, free: 15.82 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)