Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00115/0.00115, allocations: 179.1 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.468/1.468, allocations: 194.5 MB / 212.6 MB, free: 2.867 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.001601/0.0016, allocations: 112.3 kB / 257.9 MB, free: 4.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1769/0.1769, allocations: 38.01 MB / 341.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 12 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09861, allocations: 53.24 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4589, allocations: 97.2 MB / 0.5424 GB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/0.4593, allocations: 101 kB / 0.5425 GB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04155/0.5008, allocations: 13.68 MB / 0.5559 GB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5009, allocations: 4 kB / 0.5559 GB, free: 2.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.54e-05/0.5009, allocations: 12 kB / 0.5559 GB, free: 2.02 MB / 362.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.002211/0.5032, allocations: 0.7972 MB / 0.5567 GB, free: 1.211 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.5032, allocations: 8.031 kB / 0.5567 GB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007164/0.504, allocations: 96.12 kB / 0.5568 GB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.5056, allocations: 0.607 MB / 0.5574 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.5057, allocations: 34.12 kB / 0.5574 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.5058, allocations: 57.94 kB / 0.5575 GB, free: 488 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.507, allocations: 0.6807 MB / 0.5581 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.5071, allocations: 3.938 kB / 0.5581 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.5071, allocations: 18.62 kB / 0.5582 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.703e-05/0.5072, allocations: 32.73 kB / 0.5582 GB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009637/0.5082, allocations: 0.4967 MB / 0.5587 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.5124, allocations: 3.015 MB / 0.5616 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.5132, allocations: 328.6 kB / 0.5619 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.5135, allocations: 202.2 kB / 0.5621 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.5136, allocations: 12.81 kB / 0.5621 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.5136, allocations: 38.05 kB / 0.5622 GB, free: 12.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 5.019e-06/0.5136, allocations: 4 kB / 0.5622 GB, free: 12.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002522/0.5162, allocations: 1.32 MB / 0.5635 GB, free: 11.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.5162, allocations: 84.55 kB / 0.5635 GB, free: 11.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.5167, allocations: 378.8 kB / 0.5639 GB, free: 10.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.5168, allocations: 29.27 kB / 0.5639 GB, free: 10.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.517, allocations: 293.6 kB / 0.5642 GB, free: 10.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.5171, allocations: 133.4 kB / 0.5643 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.5172, allocations: 7.125 kB / 0.5643 GB, free: 10.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5173, allocations: 350.9 kB / 0.5647 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.5176, allocations: 204.4 kB / 0.5649 GB, free: 9.887 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.5181, allocations: 376.3 kB / 0.5652 GB, free: 9.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008276/0.5189, allocations: 0.6108 MB / 0.5658 GB, free: 8.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.5189, allocations: 4 kB / 0.5658 GB, free: 8.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00193/0.5209, allocations: 0.8418 MB / 0.5667 GB, free: 8.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.5209, allocations: 8 kB / 0.5667 GB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.5209, allocations: 4 kB / 0.5667 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.5222, allocations: 260.4 kB / 0.5669 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.5228, allocations: 138.9 kB / 0.567 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0052/0.528, allocations: 3.704 MB / 0.5707 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.5286, allocations: 35.38 kB / 0.5707 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.5287, allocations: 23.55 kB / 0.5707 GB, free: 4.312 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004517/0.5291, allocations: 224 kB / 0.5709 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.5293, allocations: 39.53 kB / 0.571 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009542/0.5302, allocations: 0.5131 MB / 0.5715 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.5303, allocations: 12.03 kB / 0.5715 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5303, allocations: 3.938 kB / 0.5715 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.5303, allocations: 3.984 kB / 0.5715 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.5321, allocations: 1.089 MB / 0.5726 GB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5321, allocations: 4 kB / 0.5726 GB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.5326, allocations: 91.75 kB / 0.5726 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5327, allocations: 0 / 0.5726 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.5327, allocations: 15.92 kB / 0.5727 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5327, allocations: 0 / 0.5727 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5327, allocations: 4 kB / 0.5727 GB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.5338, allocations: 0.8288 MB / 0.5735 GB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.534, allocations: 120.6 kB / 0.5736 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.534, allocations: 7.875 kB / 0.5736 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.5343, allocations: 19.84 kB / 0.5736 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.5344, allocations: 27.59 kB / 0.5736 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.5344, allocations: 15.92 kB / 0.5737 GB, free: 1.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003061/0.5347, allocations: 257.2 kB / 0.5739 GB, free: 1.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5347, allocations: 0 / 0.5739 GB, free: 1.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006595/0.5354, allocations: 139.5 kB / 0.574 GB, free: 1.523 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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.0002624/0.5357, allocations: 126.8 kB / 0.5742 GB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.5373, allocations: 0.8278 MB / 0.575 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5373, allocations: 4.375 kB / 0.575 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.5376, allocations: 231.2 kB / 0.5752 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.5382, allocations: 77.62 kB / 0.5753 GB, free: 480 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.542, allocations: 1.786 MB / 0.577 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/0.5427, allocations: 0.8935 MB / 0.5779 GB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004446/0.5431, allocations: 135.3 kB / 0.578 GB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.5433, allocations: 42.75 kB / 0.578 GB, free: 13.66 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5433, allocations: 0 / 0.578 GB, free: 13.66 MB / 394.7 MB Notification: Performance of Templates: time 0.01188/0.5552, allocations: 5.835 MB / 0.5837 GB, free: 7.832 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)