Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_latest_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.001148/0.001148, allocations: 107.8 kB / 17.06 MB, free: 6.02 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.001167/0.001167, allocations: 191 kB / 18 MB, free: 5.102 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1848/0.1848, allocations: 38.04 MB / 329.9 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.91 kB / 457.7 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3299, allocations: 58.05 MB / 0.5036 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.008248/0.3382, allocations: 8.166 MB / 0.5116 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005377/0.3436, allocations: 2.969 MB / 0.5145 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009646/0.3446, allocations: 32.03 kB / 0.5145 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.3473, allocations: 0.8909 MB / 0.5154 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.3501, allocations: 0.9095 MB / 0.5163 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.3523, allocations: 0.6335 MB / 0.5169 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.3559, allocations: 1.951 MB / 0.5188 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.3573, allocations: 0.6566 MB / 0.5194 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.3594, allocations: 0.8257 MB / 0.5203 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.3618, allocations: 1.114 MB / 0.5213 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004008/0.3622, allocations: 111.5 kB / 0.5214 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.364, allocations: 0.5354 MB / 0.522 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.3651, allocations: 0.7805 MB / 0.5227 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.3665, allocations: 0.761 MB / 0.5235 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003776/0.3703, allocations: 2.013 MB / 0.5254 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3703, allocations: 4.703 kB / 0.5254 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3704, allocations: 1.406 kB / 0.5254 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.403e-05/0.3704, allocations: 0 / 0.5254 GB, free: 10.95 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.004583/0.375, allocations: 1.703 MB / 0.5271 GB, free: 9.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3751, allocations: 12.8 kB / 0.5271 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003857/0.3755, allocations: 216.6 kB / 0.5273 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.3774, allocations: 285.3 kB / 0.5276 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.3795, allocations: 0.9157 MB / 0.5285 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.998e-05/0.3796, allocations: 96.12 kB / 0.5286 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003702/0.3799, allocations: 157.1 kB / 0.5287 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/0.3833, allocations: 2.077 MB / 0.5308 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/0.3834, allocations: 12.36 kB / 0.5308 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.3836, allocations: 54.64 kB / 0.5308 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004906/0.3841, allocations: 181 kB / 0.531 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.3871, allocations: 1.676 MB / 0.5326 GB, free: 6.68 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.01203/0.3992, allocations: 9.381 MB / 0.5418 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.4005, allocations: 0.8868 MB / 0.5427 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.4012, allocations: 452.9 kB / 0.5431 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.197e-05/0.4013, allocations: 18.31 kB / 0.5431 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.4013, allocations: 42.25 kB / 0.5432 GB, free: 13.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 2.635e-06/0.4013, allocations: 0 / 0.5432 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.00546/0.4068, allocations: 3.072 MB / 0.5462 GB, free: 11.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.4069, allocations: 91.67 kB / 0.5462 GB, free: 11.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.4083, allocations: 0.7615 MB / 0.547 GB, free: 11.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.4084, allocations: 33.7 kB / 0.547 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/0.409, allocations: 0.7255 MB / 0.5477 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.4094, allocations: 321.4 kB / 0.548 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/0.4098, allocations: 259.4 kB / 0.5483 GB, free: 9.871 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.41, allocations: 410.8 kB / 0.5487 GB, free: 9.461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/0.4107, allocations: 451.7 kB / 0.5491 GB, free: 9.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.4121, allocations: 1.014 MB / 0.5501 GB, free: 7.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.4144, allocations: 1.606 MB / 0.5517 GB, free: 5.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.849e-05/0.4145, allocations: 4 kB / 0.5517 GB, free: 5.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003752/0.4182, allocations: 1.966 MB / 0.5536 GB, free: 3.891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.4183, allocations: 12 kB / 0.5536 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002254/0.4205, allocations: 1.203 MB / 0.5548 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.422, allocations: 451.8 kB / 0.5552 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009776/0.423, allocations: 259.5 kB / 0.5554 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00745/0.4305, allocations: 5.898 MB / 0.5612 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.4315, allocations: 59.98 kB / 0.5613 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.4317, allocations: 71.97 kB / 0.5613 GB, free: 11.67 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.0008667/0.4326, allocations: 469.1 kB / 0.5618 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.4328, allocations: 99.39 kB / 0.5619 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.4351, allocations: 1.384 MB / 0.5632 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.4351, allocations: 8 kB / 0.5632 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4351, allocations: 0 / 0.5632 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.4351, allocations: 7.984 kB / 0.5632 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/0.4396, allocations: 2.489 MB / 0.5657 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.4396, allocations: 3.938 kB / 0.5657 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.4402, allocations: 135.8 kB / 0.5658 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/0.4408, allocations: 190.4 kB / 0.566 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.33e-05/0.4409, allocations: 27.98 kB / 0.566 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/0.445, allocations: 4.953 MB / 0.5709 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4451, allocations: 0 / 0.5709 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.4481, allocations: 1.854 MB / 0.5727 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006837/0.4488, allocations: 232.5 kB / 0.5729 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.4491, allocations: 27.88 kB / 0.5729 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.4497, allocations: 27.97 kB / 0.5729 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.4498, allocations: 52.58 kB / 0.573 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.4499, allocations: 32.17 kB / 0.573 GB, free: 14.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008607/0.4508, allocations: 495 kB / 0.5735 GB, free: 14.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4508, allocations: 0 / 0.5735 GB, free: 14.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001806/0.4526, allocations: 328 kB / 0.5738 GB, free: 14.14 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.003309/0.4559, allocations: 2.432 MB / 0.5762 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.459, allocations: 1.552 MB / 0.5777 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4591, allocations: 0 / 0.5777 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.4607, allocations: 0.8399 MB / 0.5785 GB, free: 9.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.4621, allocations: 179.6 kB / 0.5787 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/0.4815, allocations: 10.55 MB / 0.589 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.4829, allocations: 1.313 MB / 0.5903 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009471/0.4839, allocations: 368.5 kB / 0.5906 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/0.4846, allocations: 467.2 kB / 0.5911 GB, free: 11.55 MB / 462.1 MB Notification: Performance of SimCode: time 2.254e-06/0.4846, allocations: 0 / 0.5911 GB, free: 11.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/0.538, allocations: 21.32 MB / 0.6119 GB, free: 6.469 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.58, allocations: 18.56 kB / 0.6119 GB, free: 6.453 MB / 478.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches