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.00138/0.00138, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001653/0.001653, allocations: 218.2 kB / 23.73 MB, free: 4.164 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.614/1.614, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1874/0.1874, allocations: 38.55 MB / 352.5 MB, free: 12.3 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="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"}) [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.002121/0.002121, allocations: 69.55 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2936, allocations: 62.45 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009567/0.3032, allocations: 7.699 MB / 0.5494 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005568/0.3088, allocations: 2.833 MB / 0.5522 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006859/0.3095, allocations: 38.91 kB / 0.5523 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.312, allocations: 0.8661 MB / 0.5531 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.3142, allocations: 0.9183 MB / 0.554 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.316, allocations: 0.6446 MB / 0.5546 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00259/0.3186, allocations: 1.956 MB / 0.5565 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.3195, allocations: 0.5386 MB / 0.5571 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.3209, allocations: 0.864 MB / 0.5579 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.3228, allocations: 1.164 MB / 0.559 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.323, allocations: 112 kB / 0.5591 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.3243, allocations: 0.5693 MB / 0.5597 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008448/0.3251, allocations: 0.8026 MB / 0.5605 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008201/0.3259, allocations: 0.6339 MB / 0.5611 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.3284, allocations: 2.043 MB / 0.5631 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3284, allocations: 0 / 0.5631 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3284, allocations: 0 / 0.5631 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.417e-05/0.3285, allocations: 0 / 0.5631 GB, free: 14.55 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.00314/0.3316, allocations: 1.645 MB / 0.5647 GB, free: 12.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3316, allocations: 19.98 kB / 0.5647 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000264/0.3319, allocations: 215.6 kB / 0.5649 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.3341, allocations: 399.5 kB / 0.5653 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.336, allocations: 0.8273 MB / 0.5661 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.601e-05/0.3361, allocations: 94.78 kB / 0.5662 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/0.3364, allocations: 159.8 kB / 0.5664 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.3396, allocations: 2.076 MB / 0.5684 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-05/0.3396, allocations: 11.88 kB / 0.5684 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.3398, allocations: 55.97 kB / 0.5685 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004509/0.3402, allocations: 178.5 kB / 0.5686 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.343, allocations: 1.665 MB / 0.5703 GB, free: 6.973 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.01188/0.3549, allocations: 8.784 MB / 0.5788 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.356, allocations: 0.6893 MB / 0.5795 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.3567, allocations: 407.5 kB / 0.5799 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.145e-05/0.3567, allocations: 16.64 kB / 0.5799 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.3568, allocations: 43.16 kB / 0.58 GB, free: 12.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.755e-06/0.3568, allocations: 0 / 0.58 GB, free: 12.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.005317/0.3621, allocations: 2.767 MB / 0.5827 GB, free: 9.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.3622, allocations: 90.05 kB / 0.5827 GB, free: 9.617 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009672/0.3631, allocations: 0.7853 MB / 0.5835 GB, free: 8.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.3632, allocations: 41.7 kB / 0.5835 GB, free: 8.773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000561/0.3638, allocations: 0.7255 MB / 0.5843 GB, free: 8.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.364, allocations: 313.4 kB / 0.5846 GB, free: 7.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/0.3644, allocations: 263.4 kB / 0.5848 GB, free: 7.465 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.3646, allocations: 402.7 kB / 0.5852 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007369/0.3654, allocations: 459.7 kB / 0.5856 GB, free: 6.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.3666, allocations: 1.01 MB / 0.5866 GB, free: 5.348 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.3688, allocations: 1.614 MB / 0.5882 GB, free: 3.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.3688, allocations: 7.938 kB / 0.5882 GB, free: 3.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00364/0.3725, allocations: 1.946 MB / 0.5901 GB, free: 1.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.3725, allocations: 16 kB / 0.5901 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002312/0.3748, allocations: 1.176 MB / 0.5913 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.3762, allocations: 448.4 kB / 0.5917 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/0.377, allocations: 267.5 kB / 0.5919 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007841/0.3849, allocations: 5.627 MB / 0.5974 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008061/0.3857, allocations: 67.97 kB / 0.5975 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.3858, allocations: 68 kB / 0.5976 GB, free: 9.625 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.0007492/0.3865, allocations: 462.1 kB / 0.598 GB, free: 9.164 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.3867, allocations: 99.39 kB / 0.5981 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.3889, allocations: 1.153 MB / 0.5992 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3889, allocations: 8 kB / 0.5992 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3889, allocations: 8 kB / 0.5992 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.3889, allocations: 4.078 kB / 0.5992 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.393, allocations: 2.164 MB / 0.6014 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.393, allocations: 0 / 0.6014 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/0.3936, allocations: 135.8 kB / 0.6015 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005406/0.3941, allocations: 182.4 kB / 0.6017 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/0.3942, allocations: 23.98 kB / 0.6017 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004483/0.3986, allocations: 4.639 MB / 0.6062 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3987, allocations: 4.031 kB / 0.6062 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.4014, allocations: 1.62 MB / 0.6078 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.4019, allocations: 147.4 kB / 0.6079 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.402, allocations: 27.94 kB / 0.608 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.4024, allocations: 27.97 kB / 0.608 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.4025, allocations: 64.48 kB / 0.6081 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.4026, allocations: 23.98 kB / 0.6081 GB, free: 14.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006779/0.4032, allocations: 0.4951 MB / 0.6086 GB, free: 13.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4032, allocations: 0 / 0.6086 GB, free: 13.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001198/0.4044, allocations: 324 kB / 0.6089 GB, free: 13.54 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.00295/0.4074, allocations: 2.191 MB / 0.611 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002763/0.4101, allocations: 1.489 MB / 0.6125 GB, free: 9.789 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4102, allocations: 320 / 0.6125 GB, free: 9.789 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.4116, allocations: 0.8002 MB / 0.6133 GB, free: 8.945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.4125, allocations: 177.3 kB / 0.6134 GB, free: 8.773 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/0.4292, allocations: 10.55 MB / 0.6237 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009673/0.4302, allocations: 0.7132 MB / 0.6244 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009175/0.4311, allocations: 368.5 kB / 0.6248 GB, free: 12.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/0.4317, allocations: 455.3 kB / 0.6252 GB, free: 11.97 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4317, allocations: 0 / 0.6252 GB, free: 11.97 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08977/0.5215, allocations: 22.58 MB / 0.6473 GB, free: 5.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.86, allocations: 2.969 kB / 0.6473 GB, free: 5.688 MB / 494.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 15.832890946883708] Failed to read output from testmodel.py, exit status != 0: 12.99535219091922 13.015452285 12.683714227 Calling exit ...