Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001156/0.001156, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.3 MB / 208.4 MB, free: 6.703 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.001629/0.001629, allocations: 122.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1978/0.1978, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.911e-05/5.956e-05, allocations: 4 kB / 397.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3146, allocations: 53.23 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3713/0.6859, allocations: 93.77 MB / 0.5318 GB, free: 87.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.6863, allocations: 87.11 kB / 0.5319 GB, free: 87.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03044/0.7168, allocations: 10.89 MB / 0.5425 GB, free: 85.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7168, allocations: 0 / 0.5425 GB, free: 85.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.861e-05/0.7169, allocations: 15.75 kB / 0.5425 GB, free: 85.01 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009733/0.7178, allocations: 0.6946 MB / 0.5432 GB, free: 84.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7179, allocations: 7.438 kB / 0.5432 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.799e-05/0.718, allocations: 53.91 kB / 0.5432 GB, free: 84.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/0.7207, allocations: 1.184 MB / 0.5444 GB, free: 83.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.7207, allocations: 36.7 kB / 0.5444 GB, free: 83.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.07e-05/0.7208, allocations: 41.84 kB / 0.5445 GB, free: 83.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.7214, allocations: 491 kB / 0.5449 GB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.7214, allocations: 11.61 kB / 0.545 GB, free: 83.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.7215, allocations: 19.72 kB / 0.545 GB, free: 83.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.7215, allocations: 19.39 kB / 0.545 GB, free: 83.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.722, allocations: 354.5 kB / 0.5453 GB, free: 83.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.7238, allocations: 2.088 MB / 0.5474 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.7242, allocations: 229.9 kB / 0.5476 GB, free: 80.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.7245, allocations: 134.1 kB / 0.5477 GB, free: 80.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.7245, allocations: 192 / 0.5477 GB, free: 80.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.7245, allocations: 42.69 kB / 0.5478 GB, free: 80.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.352e-06/0.7245, allocations: 0 / 0.5478 GB, free: 80.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008907/0.7254, allocations: 0.6865 MB / 0.5484 GB, free: 80.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.7255, allocations: 81.11 kB / 0.5485 GB, free: 79.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.7257, allocations: 334.8 kB / 0.5488 GB, free: 79.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.7258, allocations: 29.7 kB / 0.5489 GB, free: 79.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.7259, allocations: 291 kB / 0.5491 GB, free: 79.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.7259, allocations: 86.42 kB / 0.5492 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.7259, allocations: 8 kB / 0.5492 GB, free: 79.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.726, allocations: 350.8 kB / 0.5496 GB, free: 78.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.7261, allocations: 84.86 kB / 0.5496 GB, free: 78.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.7263, allocations: 273.2 kB / 0.5499 GB, free: 78.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.7264, allocations: 131.9 kB / 0.55 GB, free: 78.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7265, allocations: 0 / 0.55 GB, free: 78.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005411/0.727, allocations: 449.6 kB / 0.5505 GB, free: 77.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.727, allocations: 11.95 kB / 0.5505 GB, free: 77.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.727, allocations: 8 kB / 0.5505 GB, free: 77.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.7272, allocations: 56.77 kB / 0.5505 GB, free: 77.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.7274, allocations: 83.84 kB / 0.5506 GB, free: 77.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009773/0.7284, allocations: 1.485 MB / 0.5521 GB, free: 76.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.7286, allocations: 16 kB / 0.5521 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.7287, allocations: 24 kB / 0.5521 GB, free: 75.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.7287, allocations: 136.6 kB / 0.5522 GB, free: 75.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.7288, allocations: 47.47 kB / 0.5523 GB, free: 75.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.7291, allocations: 228.8 kB / 0.5525 GB, free: 75.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7291, allocations: 7.984 kB / 0.5525 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.7291, allocations: 0 / 0.5525 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7291, allocations: 3.984 kB / 0.5525 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.7298, allocations: 0.6793 MB / 0.5532 GB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7298, allocations: 4 kB / 0.5532 GB, free: 74.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.73, allocations: 47.97 kB / 0.5532 GB, free: 74.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.73, allocations: 4 kB / 0.5532 GB, free: 74.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.73, allocations: 0 / 0.5532 GB, free: 74.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.73, allocations: 4 kB / 0.5532 GB, free: 74.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.73, allocations: 0 / 0.5532 GB, free: 74.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.7304, allocations: 459.9 kB / 0.5537 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.7305, allocations: 120.7 kB / 0.5538 GB, free: 74.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.7306, allocations: 4 kB / 0.5538 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.7307, allocations: 11.98 kB / 0.5538 GB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.7307, allocations: 11.98 kB / 0.5538 GB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.7307, allocations: 12.06 kB / 0.5538 GB, free: 74.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.7309, allocations: 253.1 kB / 0.5541 GB, free: 73.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7309, allocations: 4 kB / 0.5541 GB, free: 73.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004116/0.7314, allocations: 103.9 kB / 0.5542 GB, free: 73.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * 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.0001996/0.7316, allocations: 139.1 kB / 0.5543 GB, free: 73.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.7321, allocations: 376.4 kB / 0.5546 GB, free: 73.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7321, allocations: 4.062 kB / 0.5546 GB, free: 73.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.7322, allocations: 87.92 kB / 0.5547 GB, free: 73.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.7326, allocations: 89.44 kB / 0.5548 GB, free: 73.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008344/0.7335, allocations: 0.5882 MB / 0.5554 GB, free: 72.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.7337, allocations: 0.8668 MB / 0.5562 GB, free: 71.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.734, allocations: 84.12 kB / 0.5563 GB, free: 71.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.734, allocations: 31.44 kB / 0.5563 GB, free: 71.45 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.734, allocations: 4 kB / 0.5564 GB, free: 71.44 MB / 378.7 MB Notification: Performance of Templates: time 0.007109/0.7412, allocations: 3.856 MB / 0.5601 GB, free: 67.61 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)