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.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.001877/0.001877, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002304/0.002304, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.182/0.182, allocations: 38.55 MB / 353.2 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_latest_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.002077/0.002077, allocations: 67.89 kB / 493.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3394, allocations: 62.47 MB / 0.5427 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009752/0.3492, allocations: 7.68 MB / 0.5502 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.3545, allocations: 2.824 MB / 0.553 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.355, allocations: 46.47 kB / 0.553 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002279/0.3572, allocations: 0.8667 MB / 0.5539 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.3592, allocations: 0.9188 MB / 0.5547 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.3608, allocations: 0.6485 MB / 0.5554 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.3631, allocations: 1.949 MB / 0.5573 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008463/0.364, allocations: 0.5518 MB / 0.5578 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.3653, allocations: 0.8524 MB / 0.5587 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.3671, allocations: 1.215 MB / 0.5598 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.3673, allocations: 112 kB / 0.56 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.3684, allocations: 0.5655 MB / 0.5605 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008135/0.3692, allocations: 0.8027 MB / 0.5613 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007648/0.37, allocations: 0.6299 MB / 0.5619 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.3724, allocations: 2.047 MB / 0.5639 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3724, allocations: 0 / 0.5639 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3724, allocations: 0 / 0.5639 GB, free: 14.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.3724, allocations: 0 / 0.5639 GB, free: 14.49 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.002979/0.3754, allocations: 1.645 MB / 0.5655 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3754, allocations: 11.98 kB / 0.5655 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.5e-05/0.3755, allocations: 42.61 kB / 0.5656 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002633/0.3757, allocations: 215.6 kB / 0.5658 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.3779, allocations: 395.5 kB / 0.5661 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.3796, allocations: 0.839 MB / 0.567 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.023e-05/0.3797, allocations: 98.55 kB / 0.5671 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.3801, allocations: 147.8 kB / 0.5672 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/0.3833, allocations: 2.084 MB / 0.5692 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.3833, allocations: 7.938 kB / 0.5692 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.3835, allocations: 55.97 kB / 0.5693 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004808/0.3839, allocations: 174.5 kB / 0.5695 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.3866, allocations: 1.677 MB / 0.5711 GB, free: 6.863 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.01114/0.3978, allocations: 8.788 MB / 0.5797 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.399, allocations: 0.6971 MB / 0.5804 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.3996, allocations: 406.4 kB / 0.5807 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/0.3997, allocations: 16.66 kB / 0.5808 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.3997, allocations: 39.22 kB / 0.5808 GB, free: 12.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.116e-06/0.3997, allocations: 0 / 0.5808 GB, free: 12.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.00529/0.405, allocations: 2.759 MB / 0.5835 GB, free: 9.621 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.4051, allocations: 86.11 kB / 0.5836 GB, free: 9.516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/0.406, allocations: 0.7583 MB / 0.5843 GB, free: 8.746 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.4061, allocations: 37.64 kB / 0.5844 GB, free: 8.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005589/0.4066, allocations: 0.7294 MB / 0.5851 GB, free: 7.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.4069, allocations: 325.3 kB / 0.5854 GB, free: 7.645 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.4073, allocations: 255.5 kB / 0.5856 GB, free: 7.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.4075, allocations: 406.7 kB / 0.586 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.4083, allocations: 451.7 kB / 0.5864 GB, free: 6.539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.4094, allocations: 1.014 MB / 0.5874 GB, free: 5.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.4116, allocations: 1.61 MB / 0.589 GB, free: 3.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.4116, allocations: 8 kB / 0.589 GB, free: 3.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003677/0.4153, allocations: 1.943 MB / 0.5909 GB, free: 1.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.4153, allocations: 15.94 kB / 0.5909 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00233/0.4176, allocations: 1.172 MB / 0.5921 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.4191, allocations: 453.1 kB / 0.5925 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.42, allocations: 263.5 kB / 0.5927 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007852/0.4278, allocations: 5.631 MB / 0.5982 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.4286, allocations: 56.03 kB / 0.5983 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.4288, allocations: 80.02 kB / 0.5984 GB, free: 9.547 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.0007529/0.4295, allocations: 473.1 kB / 0.5988 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.4297, allocations: 95.33 kB / 0.5989 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.432, allocations: 1.15 MB / 0.6 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.432, allocations: 12 kB / 0.6001 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.432, allocations: 7.984 kB / 0.6001 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.432, allocations: 3.984 kB / 0.6001 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.436, allocations: 2.149 MB / 0.6022 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.436, allocations: 0 / 0.6022 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.4365, allocations: 135.7 kB / 0.6023 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005826/0.4371, allocations: 194.3 kB / 0.6025 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/0.4372, allocations: 23.98 kB / 0.6025 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.4419, allocations: 4.635 MB / 0.607 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4419, allocations: 0 / 0.607 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.4449, allocations: 1.627 MB / 0.6086 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.4454, allocations: 151.3 kB / 0.6088 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4455, allocations: 27.92 kB / 0.6088 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.4459, allocations: 27.98 kB / 0.6088 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.446, allocations: 60.53 kB / 0.6089 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.4461, allocations: 23.98 kB / 0.6089 GB, free: 14.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007129/0.4468, allocations: 0.4912 MB / 0.6094 GB, free: 13.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4468, allocations: 3.938 kB / 0.6094 GB, free: 13.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001335/0.4481, allocations: 328 kB / 0.6097 GB, free: 13.46 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.003165/0.4513, allocations: 2.183 MB / 0.6118 GB, free: 11.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002924/0.4542, allocations: 1.493 MB / 0.6133 GB, free: 9.707 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4542, allocations: 4.062 kB / 0.6133 GB, free: 9.703 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.4558, allocations: 0.804 MB / 0.6141 GB, free: 8.855 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4569, allocations: 185.9 kB / 0.6142 GB, free: 8.676 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.4741, allocations: 10.53 MB / 0.6245 GB, free: 13.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009381/0.475, allocations: 0.7249 MB / 0.6252 GB, free: 12.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009229/0.4759, allocations: 360.5 kB / 0.6256 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.4766, allocations: 463.2 kB / 0.626 GB, free: 11.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4766, allocations: 0 / 0.626 GB, free: 11.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0637/0.5403, allocations: 22.77 MB / 0.6483 GB, free: 5.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.24, allocations: 10.5 kB / 0.6483 GB, free: 5.426 MB / 494.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.5953374550445]