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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 115.5 kB / 17.07 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 185.4 kB / 18 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1787/0.1787, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 457.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3241, allocations: 58.04 MB / 0.5036 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005595/0.3297, allocations: 5.5 MB / 0.509 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.3314, allocations: 1.301 MB / 0.5102 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.3316, allocations: 18.94 kB / 0.5103 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.3321, allocations: 133.5 kB / 0.5104 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006776/0.3328, allocations: 376.5 kB / 0.5108 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.333, allocations: 131.3 kB / 0.5109 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007124/0.3337, allocations: 0.7503 MB / 0.5116 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.334, allocations: 213.1 kB / 0.5118 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.3344, allocations: 332.2 kB / 0.5121 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.335, allocations: 384.5 kB / 0.5125 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.335, allocations: 36.59 kB / 0.5125 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.978e-05/0.3351, allocations: 36.91 kB / 0.5126 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.3353, allocations: 197 kB / 0.5128 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.3355, allocations: 246.1 kB / 0.513 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.3361, allocations: 0.5318 MB / 0.5135 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3361, allocations: 0 / 0.5135 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3361, allocations: 1.219 kB / 0.5135 GB, free: 1.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3361, allocations: 4 kB / 0.5135 GB, free: 1.25 MB / 382.1 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.001136/0.3373, allocations: 0.81 MB / 0.5143 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3373, allocations: 12.98 kB / 0.5143 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.641e-05/0.3374, allocations: 83.14 kB / 0.5144 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.3375, allocations: 62.81 kB / 0.5145 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.3382, allocations: 499.1 kB / 0.5149 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.3382, allocations: 29.78 kB / 0.515 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.3383, allocations: 36.94 kB / 0.515 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.339, allocations: 0.5005 MB / 0.5155 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.339, allocations: 1.469 kB / 0.5155 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.3391, allocations: 18.98 kB / 0.5155 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.3391, allocations: 19.77 kB / 0.5155 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005902/0.3397, allocations: 369.9 kB / 0.5159 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/0.3424, allocations: 2.065 MB / 0.5179 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.3429, allocations: 236.7 kB / 0.5181 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.3432, allocations: 130.4 kB / 0.5182 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3432, allocations: 6.25 kB / 0.5182 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.3433, allocations: 37.33 kB / 0.5183 GB, free: 13.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/0.3433, allocations: 5.016 kB / 0.5183 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001254/0.3445, allocations: 0.7715 MB / 0.519 GB, free: 13.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.3446, allocations: 83.88 kB / 0.5191 GB, free: 13.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.345, allocations: 384 kB / 0.5195 GB, free: 13.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.3451, allocations: 30.83 kB / 0.5195 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.3453, allocations: 296.5 kB / 0.5198 GB, free: 12.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.3454, allocations: 83.14 kB / 0.5199 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3455, allocations: 82.05 kB / 0.52 GB, free: 12.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3457, allocations: 349.4 kB / 0.5203 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3458, allocations: 89.03 kB / 0.5204 GB, free: 12.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.3461, allocations: 278.8 kB / 0.5206 GB, free: 12.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.3466, allocations: 402.3 kB / 0.521 GB, free: 11.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3466, allocations: 6.656 kB / 0.521 GB, free: 11.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007284/0.3474, allocations: 450 kB / 0.5215 GB, free: 11.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3474, allocations: 8.5 kB / 0.5215 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3474, allocations: 6.688 kB / 0.5215 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.3476, allocations: 56.19 kB / 0.5215 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.3479, allocations: 79.95 kB / 0.5216 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.3494, allocations: 1.623 MB / 0.5232 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.3497, allocations: 23 kB / 0.5232 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.3497, allocations: 21.11 kB / 0.5232 GB, free: 10.02 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.3499, allocations: 205.5 kB / 0.5234 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.35, allocations: 44.2 kB / 0.5235 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.3504, allocations: 241.5 kB / 0.5237 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3504, allocations: 3.781 kB / 0.5237 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3504, allocations: 0.8438 kB / 0.5237 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3504, allocations: 2.016 kB / 0.5237 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009561/0.3514, allocations: 0.6937 MB / 0.5244 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3514, allocations: 1.219 kB / 0.5244 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.3516, allocations: 48.56 kB / 0.5244 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3516, allocations: 1.406 kB / 0.5244 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3517, allocations: 2.781 kB / 0.5244 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3517, allocations: 2.156 kB / 0.5244 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3517, allocations: 5.406 kB / 0.5244 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.3522, allocations: 434.6 kB / 0.5249 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.3523, allocations: 127.3 kB / 0.525 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3524, allocations: 7.5 kB / 0.525 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3525, allocations: 13.62 kB / 0.525 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.3526, allocations: 15.84 kB / 0.525 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.3526, allocations: 6.109 kB / 0.525 GB, free: 8.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002916/0.3529, allocations: 259.5 kB / 0.5253 GB, free: 8.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3529, allocations: 0 / 0.5253 GB, free: 8.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.3534, allocations: 90.31 kB / 0.5254 GB, free: 8.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008439/0.3542, allocations: 0.9548 MB / 0.5263 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006321/0.3549, allocations: 398.6 kB / 0.5267 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3549, allocations: 3.938 kB / 0.5267 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.355, allocations: 85.89 kB / 0.5268 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.3556, allocations: 100.9 kB / 0.5268 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.3604, allocations: 3.718 MB / 0.5305 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.3609, allocations: 0.8575 MB / 0.5313 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002505/0.3612, allocations: 79.11 kB / 0.5314 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.3614, allocations: 153 kB / 0.5315 GB, free: 4.195 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3614, allocations: 0 / 0.5315 GB, free: 4.195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03938/0.4008, allocations: 7.618 MB / 0.539 GB, free: 1.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.71, allocations: 8 kB / 0.539 GB, free: 1.387 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)