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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 112.5 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1876/0.1876, allocations: 38.53 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 63.89 kB / 493.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3697, allocations: 62.47 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01053/0.3802, allocations: 8.374 MB / 0.5509 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005973/0.3862, allocations: 3.059 MB / 0.5539 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006911/0.3869, allocations: 43.25 kB / 0.554 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002536/0.3894, allocations: 0.9178 MB / 0.5549 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.3919, allocations: 0.9138 MB / 0.5558 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.3939, allocations: 0.6431 MB / 0.5564 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003558/0.3975, allocations: 1.955 MB / 0.5583 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.3987, allocations: 0.5491 MB / 0.5588 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.4004, allocations: 0.8439 MB / 0.5597 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.4024, allocations: 1.215 MB / 0.5608 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.4026, allocations: 112 kB / 0.561 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.4041, allocations: 0.6046 MB / 0.5615 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000924/0.405, allocations: 0.8027 MB / 0.5623 GB, free: 468 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009535/0.406, allocations: 0.758 MB / 0.5631 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.4086, allocations: 2.028 MB / 0.565 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4086, allocations: 3.938 kB / 0.565 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4086, allocations: 3.938 kB / 0.5651 GB, free: 13.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.323e-05/0.4086, allocations: 0 / 0.5651 GB, free: 13.65 MB / 414.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.003331/0.412, allocations: 1.645 MB / 0.5667 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.412, allocations: 19.98 kB / 0.5667 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.633e-05/0.4121, allocations: 34.62 kB / 0.5667 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002609/0.4123, allocations: 215.6 kB / 0.5669 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.4146, allocations: 399.5 kB / 0.5673 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.4163, allocations: 0.8351 MB / 0.5681 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/0.4164, allocations: 90.55 kB / 0.5682 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/0.4167, allocations: 151.8 kB / 0.5683 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003154/0.4199, allocations: 2.084 MB / 0.5704 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/0.4199, allocations: 7.938 kB / 0.5704 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.4201, allocations: 55.97 kB / 0.5704 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004868/0.4206, allocations: 178.5 kB / 0.5706 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.4234, allocations: 1.68 MB / 0.5723 GB, free: 6.023 MB / 414.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.01262/0.436, allocations: 9.231 MB / 0.5813 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.4372, allocations: 0.6899 MB / 0.5819 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/0.4378, allocations: 411.4 kB / 0.5823 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-05/0.4379, allocations: 12.66 kB / 0.5823 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.438, allocations: 43.2 kB / 0.5824 GB, free: 11.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.875e-06/0.438, allocations: 0 / 0.5824 GB, free: 11.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.005425/0.4434, allocations: 2.767 MB / 0.5851 GB, free: 8.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.4435, allocations: 90.05 kB / 0.5852 GB, free: 8.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.4445, allocations: 0.7505 MB / 0.5859 GB, free: 7.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.4446, allocations: 41.7 kB / 0.5859 GB, free: 7.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006215/0.4452, allocations: 0.7216 MB / 0.5867 GB, free: 6.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.4455, allocations: 325.3 kB / 0.587 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.4459, allocations: 263.5 kB / 0.5872 GB, free: 6.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.4462, allocations: 402.7 kB / 0.5876 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007224/0.4469, allocations: 455.7 kB / 0.588 GB, free: 5.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.4481, allocations: 1.014 MB / 0.589 GB, free: 3.938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.4503, allocations: 1.606 MB / 0.5906 GB, free: 2.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.4503, allocations: 8 kB / 0.5906 GB, free: 2.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003743/0.4541, allocations: 1.947 MB / 0.5925 GB, free: 100 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.4541, allocations: 15.94 kB / 0.5925 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002341/0.4564, allocations: 1.175 MB / 0.5937 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.4579, allocations: 451.8 kB / 0.5941 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009215/0.4588, allocations: 263.5 kB / 0.5943 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008168/0.467, allocations: 5.683 MB / 0.5999 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.4678, allocations: 59.98 kB / 0.6 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.468, allocations: 68 kB / 0.6 GB, free: 8.168 MB / 446.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.0008707/0.4688, allocations: 476.3 kB / 0.6005 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.469, allocations: 99.31 kB / 0.6006 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.4713, allocations: 1.157 MB / 0.6017 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.4713, allocations: 8 kB / 0.6017 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.4713, allocations: 4 kB / 0.6017 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.4713, allocations: 3.984 kB / 0.6017 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/0.4753, allocations: 2.227 MB / 0.6039 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.4753, allocations: 4 kB / 0.6039 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.4759, allocations: 131.7 kB / 0.604 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005851/0.4765, allocations: 186.5 kB / 0.6042 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-05/0.4765, allocations: 27.92 kB / 0.6042 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/0.481, allocations: 4.646 MB / 0.6088 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.481, allocations: 0 / 0.6088 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.4836, allocations: 1.624 MB / 0.6103 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/0.4841, allocations: 155.3 kB / 0.6105 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.4842, allocations: 23.94 kB / 0.6105 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.4846, allocations: 35.91 kB / 0.6105 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.4847, allocations: 60.53 kB / 0.6106 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.4848, allocations: 20 kB / 0.6106 GB, free: 12.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006793/0.4854, allocations: 0.4951 MB / 0.6111 GB, free: 12.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4854, allocations: 4 kB / 0.6111 GB, free: 12.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001272/0.4867, allocations: 324 kB / 0.6114 GB, free: 12 MB / 462.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.002935/0.4896, allocations: 2.179 MB / 0.6135 GB, free: 9.762 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003202/0.4928, allocations: 1.485 MB / 0.615 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4928, allocations: 4.188 kB / 0.615 GB, free: 8.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.4944, allocations: 0.8118 MB / 0.6158 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.4957, allocations: 182.9 kB / 0.616 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/0.5153, allocations: 10.54 MB / 0.6263 GB, free: 11.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.5168, allocations: 1.309 MB / 0.6275 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009205/0.5177, allocations: 364.5 kB / 0.6279 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006604/0.5184, allocations: 455.3 kB / 0.6283 GB, free: 9.844 MB / 478.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5184, allocations: 0 / 0.6283 GB, free: 9.844 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07058/0.5889, allocations: 22.67 MB / 0.6505 GB, free: 3.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.07, allocations: 4.062 kB / 0.6505 GB, free: 3.359 MB / 494.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.083503623027354] Failed to read output from testmodel.py, exit status != 0: 14.258138965989929 14.274203824 13.862018891 Calling exit ...