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.001185/0.001185, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009505/0.0009505, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9356/0.9356, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2219/0.2219, allocations: 29.41 MB / 290.1 MB, free: 2.449 MB / 266.7 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.094e-05, allocations: 4.672 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.00617/0.006191, allocations: 7.63 MB / 437.8 MB, free: 5.938 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003714/0.009904, allocations: 2.829 MB / 440.7 MB, free: 3.102 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.01038, allocations: 43.62 kB / 440.7 MB, free: 3.059 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.01169, allocations: 0.8855 MB / 441.6 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.01334, allocations: 0.9289 MB / 442.5 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.01483, allocations: 0.6699 MB / 443.2 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.176/0.1908, allocations: 1.983 MB / 445.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007513/0.1915, allocations: 0.5487 MB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.193, allocations: 1.095 MB / 446.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009114/0.1939, allocations: 1.104 MB / 447.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.194, allocations: 110.7 kB / 448 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007273/0.1947, allocations: 0.5747 MB / 448.6 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004056/0.1951, allocations: 0.8349 MB / 449.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003674/0.1955, allocations: 0.5281 MB / 450 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.197, allocations: 2.079 MB / 452.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.197, allocations: 1.344 kB / 452.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.197, allocations: 0 / 452.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.197, allocations: 0 / 452.1 MB, free: 43.01 MB / 410.7 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.001695/0.1987, allocations: 1.629 MB / 453.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1987, allocations: 13.45 kB / 453.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.1989, allocations: 218.3 kB / 453.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.2, allocations: 407.9 kB / 454.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/0.201, allocations: 0.835 MB / 455.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.201, allocations: 88.94 kB / 455.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.2012, allocations: 158.6 kB / 455.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.2029, allocations: 2.076 MB / 457.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.2029, allocations: 13.09 kB / 457.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.203, allocations: 53.34 kB / 457.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/0.2032, allocations: 184.1 kB / 457.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.2047, allocations: 1.665 MB / 459.4 MB, free: 40.32 MB / 410.7 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.005321/0.21, allocations: 8.785 MB / 468.2 MB, free: 33.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.2107, allocations: 0.684 MB / 468.8 MB, free: 33.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.2111, allocations: 412.6 kB / 469.2 MB, free: 33.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.263e-05/0.2112, allocations: 15.3 kB / 469.3 MB, free: 33.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2112, allocations: 46 kB / 469.3 MB, free: 33.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 3.897e-06/0.2112, allocations: 2.781 kB / 469.3 MB, free: 33.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=85): time 0.003078/0.2143, allocations: 2.753 MB / 472.1 MB, free: 32.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2143, allocations: 87.23 kB / 472.1 MB, free: 32.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.2149, allocations: 0.786 MB / 472.9 MB, free: 31.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.2149, allocations: 40.92 kB / 473 MB, free: 31.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.2151, allocations: 0.7169 MB / 473.7 MB, free: 31.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.2152, allocations: 321.5 kB / 474 MB, free: 30.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.2154, allocations: 254.2 kB / 474.3 MB, free: 30.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.2155, allocations: 405.1 kB / 474.6 MB, free: 30.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.2159, allocations: 451.5 kB / 475.1 MB, free: 30.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.2164, allocations: 1.018 MB / 476.1 MB, free: 29.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2175, allocations: 1.606 MB / 477.7 MB, free: 28.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.2175, allocations: 9.969 kB / 477.7 MB, free: 28.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00198/0.2194, allocations: 1.943 MB / 479.7 MB, free: 27.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.2195, allocations: 15.94 kB / 479.7 MB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001201/0.2207, allocations: 1.181 MB / 480.9 MB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007883/0.2215, allocations: 448.6 kB / 481.3 MB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.2219, allocations: 259.5 kB / 481.6 MB, free: 27.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/0.226, allocations: 5.626 MB / 487.2 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.2265, allocations: 61.94 kB / 487.2 MB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/0.2266, allocations: 63.78 kB / 487.3 MB, free: 23.54 MB / 410.7 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.0005847/0.2272, allocations: 469.9 kB / 487.8 MB, free: 23.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.2273, allocations: 106 kB / 487.9 MB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.2285, allocations: 1.153 MB / 489 MB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.2285, allocations: 8.438 kB / 489 MB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2285, allocations: 1.406 kB / 489 MB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2285, allocations: 7.75 kB / 489 MB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.231, allocations: 2.151 MB / 491.2 MB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.231, allocations: 1.156 kB / 491.2 MB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.2313, allocations: 136.2 kB / 491.3 MB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003271/0.2317, allocations: 187.2 kB / 491.5 MB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.2317, allocations: 28.97 kB / 491.5 MB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.2338, allocations: 4.624 MB / 496.2 MB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.2338, allocations: 6.406 kB / 496.2 MB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.2356, allocations: 1.621 MB / 497.8 MB, free: 17.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.2358, allocations: 153.8 kB / 497.9 MB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.2359, allocations: 23.23 kB / 498 MB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.2361, allocations: 27.2 kB / 498 MB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.2362, allocations: 68.8 kB / 498 MB, free: 16.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.2363, allocations: 23.97 kB / 498.1 MB, free: 16.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004855/0.2367, allocations: 0.4898 MB / 498.6 MB, free: 16.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2367, allocations: 0 / 498.6 MB, free: 16.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009963/0.2377, allocations: 323.6 kB / 498.9 MB, free: 16.66 MB / 410.7 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.001912/0.2397, allocations: 2.195 MB / 0.4893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.2415, allocations: 1.479 MB / 0.4908 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2416, allocations: 2 kB / 0.4908 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008243/0.2424, allocations: 0.8066 MB / 0.4916 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.2431, allocations: 174.6 kB / 0.4917 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.2541, allocations: 10.39 MB / 0.5019 GB, free: 8.559 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/0.2549, allocations: 0.7231 MB / 0.5026 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006934/0.2556, allocations: 363.6 kB / 0.5029 GB, free: 8.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.256, allocations: 453.8 kB / 0.5034 GB, free: 7.965 MB / 410.7 MB Notification: Performance of SimCode: time 1.502e-06/0.256, allocations: 0 / 0.5034 GB, free: 7.965 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04284/0.2988, allocations: 22.69 MB / 0.5255 GB, free: 3.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.387, allocations: 11.73 kB / 0.5255 GB, free: 3.738 MB / 426.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","/var/lib/jenkins/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: 9.453872787766159]