Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.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.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",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.001913/0.001913, allocations: 113 kB / 17.05 MB, free: 6.086 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.002263/0.002263, allocations: 188 kB / 17.99 MB, free: 5.184 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.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1772/0.1772, allocations: 38.04 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 63.89 kB / 457.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.331, allocations: 58.06 MB / 0.5036 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.007641/0.3387, allocations: 8.164 MB / 0.5116 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004908/0.3436, allocations: 2.971 MB / 0.5145 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000717/0.3444, allocations: 31.06 kB / 0.5145 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.3468, allocations: 0.8849 MB / 0.5154 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.3497, allocations: 0.9026 MB / 0.5163 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.3518, allocations: 0.6337 MB / 0.5169 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003133/0.3549, allocations: 1.954 MB / 0.5188 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.3562, allocations: 0.6562 MB / 0.5194 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.3579, allocations: 0.8135 MB / 0.5202 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.3597, allocations: 1.107 MB / 0.5213 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.3599, allocations: 111.7 kB / 0.5214 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.3613, allocations: 0.5364 MB / 0.5219 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.3624, allocations: 0.7838 MB / 0.5227 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.3634, allocations: 0.7584 MB / 0.5234 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.3663, allocations: 2.019 MB / 0.5254 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3663, allocations: 2.406 kB / 0.5254 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3663, allocations: 0 / 0.5254 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.3664, allocations: 4 kB / 0.5254 GB, free: 11.06 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.003485/0.3699, allocations: 1.703 MB / 0.5271 GB, free: 9.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3699, allocations: 8.75 kB / 0.5271 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002986/0.3702, allocations: 215.7 kB / 0.5273 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.3719, allocations: 285.3 kB / 0.5276 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.3736, allocations: 0.9128 MB / 0.5285 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.496e-05/0.3736, allocations: 100.4 kB / 0.5286 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/0.374, allocations: 152.8 kB / 0.5287 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/0.3771, allocations: 2.085 MB / 0.5307 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.3772, allocations: 12.8 kB / 0.5307 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.3773, allocations: 49.98 kB / 0.5308 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004316/0.3778, allocations: 180.6 kB / 0.531 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/0.3805, allocations: 1.673 MB / 0.5326 GB, free: 6.711 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.392, allocations: 9.381 MB / 0.5418 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.3933, allocations: 0.8874 MB / 0.5426 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/0.394, allocations: 444.9 kB / 0.5431 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.459e-05/0.3941, allocations: 17.52 kB / 0.5431 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.3941, allocations: 51.09 kB / 0.5431 GB, free: 13.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 3.065e-06/0.3941, allocations: 0 / 0.5431 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.005277/0.3994, allocations: 3.071 MB / 0.5461 GB, free: 11.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.3995, allocations: 91.2 kB / 0.5462 GB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.4006, allocations: 0.755 MB / 0.5469 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.4006, allocations: 37.7 kB / 0.547 GB, free: 11.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000545/0.4012, allocations: 0.7294 MB / 0.5477 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.4015, allocations: 325.3 kB / 0.548 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.4018, allocations: 259.4 kB / 0.5482 GB, free: 9.898 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.4021, allocations: 402.7 kB / 0.5486 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/0.4028, allocations: 451.7 kB / 0.5491 GB, free: 9.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.4039, allocations: 1.018 MB / 0.5501 GB, free: 7.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.4059, allocations: 1.606 MB / 0.5516 GB, free: 5.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.4059, allocations: 4 kB / 0.5516 GB, free: 5.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003499/0.4095, allocations: 1.97 MB / 0.5536 GB, free: 3.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.4095, allocations: 12 kB / 0.5536 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002257/0.4118, allocations: 1.203 MB / 0.5547 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.4131, allocations: 451.5 kB / 0.5552 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/0.414, allocations: 259.5 kB / 0.5554 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007739/0.4217, allocations: 5.892 MB / 0.5612 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/0.4227, allocations: 59.94 kB / 0.5612 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.4228, allocations: 64 kB / 0.5613 GB, free: 11.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,trafo3Stray.tap_2_internal[2],trafo3Stray.tap_2_internal[1],trafo3Stray.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008903/0.4237, allocations: 480.9 kB / 0.5617 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4238, allocations: 95.39 kB / 0.5618 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.4262, allocations: 1.376 MB / 0.5632 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.4262, allocations: 8 kB / 0.5632 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4262, allocations: 8 kB / 0.5632 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4262, allocations: 3.984 kB / 0.5632 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/0.4302, allocations: 2.497 MB / 0.5656 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4303, allocations: 0 / 0.5656 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.4308, allocations: 131.8 kB / 0.5658 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005476/0.4314, allocations: 186.3 kB / 0.5659 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/0.4314, allocations: 24.11 kB / 0.566 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/0.4359, allocations: 4.961 MB / 0.5708 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4359, allocations: 4.031 kB / 0.5708 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.4387, allocations: 1.858 MB / 0.5726 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.4392, allocations: 228.5 kB / 0.5728 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.4393, allocations: 23.94 kB / 0.5729 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.4397, allocations: 31.91 kB / 0.5729 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.4398, allocations: 60.52 kB / 0.573 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.4399, allocations: 23.98 kB / 0.573 GB, free: 14.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007037/0.4406, allocations: 499 kB / 0.5735 GB, free: 14.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4406, allocations: 0 / 0.5735 GB, free: 14.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001331/0.4419, allocations: 328 kB / 0.5738 GB, free: 14.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (trafo3Stray.i2a[1],trafo3Stray.i2a[2],trafo3Stray.i2a[3],trafo3Stray.i2b[1],trafo3Stray.i2b[2],trafo3Stray.i2b[3]) * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003082/0.445, allocations: 2.425 MB / 0.5761 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002856/0.4479, allocations: 1.547 MB / 0.5776 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.4479, allocations: 9.938 kB / 0.5777 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.4494, allocations: 0.8355 MB / 0.5785 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.4504, allocations: 181.3 kB / 0.5786 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.4669, allocations: 10.56 MB / 0.589 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.4681, allocations: 1.317 MB / 0.5902 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008527/0.469, allocations: 364.5 kB / 0.5906 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.4695, allocations: 459.3 kB / 0.591 GB, free: 11.59 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4696, allocations: 0 / 0.591 GB, free: 11.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06055/0.5301, allocations: 21.31 MB / 0.6118 GB, free: 6.465 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.17, allocations: 7.797 kB / 0.6119 GB, free: 6.457 MB / 478.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)