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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1833/0.1833, allocations: 38.51 MB / 342.5 MB, free: 8.043 MB / 270.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-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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 62 kB / 478.6 MB, free: 33.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 61.25 MB / 0.5272 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009953/0.1251, allocations: 8.24 MB / 0.5353 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005425/0.1305, allocations: 2.992 MB / 0.5382 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006701/0.1312, allocations: 31.81 kB / 0.5382 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.1338, allocations: 0.9062 MB / 0.5391 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.1361, allocations: 0.9144 MB / 0.54 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.138, allocations: 0.6314 MB / 0.5406 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002702/0.1407, allocations: 1.946 MB / 0.5425 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009372/0.1416, allocations: 0.5289 MB / 0.543 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.1433, allocations: 0.8289 MB / 0.5438 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.1456, allocations: 1.196 MB / 0.545 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003906/0.146, allocations: 112 kB / 0.5451 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.1476, allocations: 0.5733 MB / 0.5457 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.1488, allocations: 0.7948 MB / 0.5465 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.1503, allocations: 0.7581 MB / 0.5472 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003144/0.1535, allocations: 2.004 MB / 0.5492 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1535, allocations: 0 / 0.5492 GB, free: 10.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1535, allocations: 0 / 0.5492 GB, free: 10.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.62e-05/0.1536, allocations: 4 kB / 0.5492 GB, free: 10.91 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.004117/0.1577, allocations: 1.705 MB / 0.5508 GB, free: 9.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1577, allocations: 15.89 kB / 0.5508 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003566/0.1581, allocations: 211.6 kB / 0.551 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.1598, allocations: 287.7 kB / 0.5513 GB, free: 8.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.162, allocations: 0.9189 MB / 0.5522 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.343e-05/0.1621, allocations: 90.8 kB / 0.5523 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/0.1624, allocations: 151.9 kB / 0.5524 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.1659, allocations: 2.091 MB / 0.5545 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.154e-05/0.1659, allocations: 11.89 kB / 0.5545 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.1661, allocations: 55.97 kB / 0.5545 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004353/0.1665, allocations: 174.5 kB / 0.5547 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.1696, allocations: 1.677 MB / 0.5563 GB, free: 3.258 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.01268/0.1822, allocations: 9.378 MB / 0.5655 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.1835, allocations: 0.8472 MB / 0.5663 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.1842, allocations: 403.4 kB / 0.5667 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/0.1842, allocations: 20.64 kB / 0.5667 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.1843, allocations: 47.16 kB / 0.5668 GB, free: 7.988 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.826e-06/0.1843, allocations: 3.938 kB / 0.5668 GB, free: 7.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.00529/0.1896, allocations: 3.061 MB / 0.5698 GB, free: 4.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.1896, allocations: 90.14 kB / 0.5699 GB, free: 4.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/0.1906, allocations: 0.7505 MB / 0.5706 GB, free: 3.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.1907, allocations: 41.7 kB / 0.5706 GB, free: 3.898 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/0.1912, allocations: 0.7217 MB / 0.5713 GB, free: 3.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.1915, allocations: 321.3 kB / 0.5716 GB, free: 2.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.1918, allocations: 263.4 kB / 0.5719 GB, free: 2.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.192, allocations: 406.7 kB / 0.5723 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000724/0.1928, allocations: 455.7 kB / 0.5727 GB, free: 1.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.194, allocations: 1.022 MB / 0.5737 GB, free: 464 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.1961, allocations: 1.602 MB / 0.5753 GB, free: 14.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.1962, allocations: 8 kB / 0.5753 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003595/0.1997, allocations: 1.938 MB / 0.5772 GB, free: 12.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.1998, allocations: 15.94 kB / 0.5772 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002311/0.2021, allocations: 1.18 MB / 0.5784 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.2035, allocations: 447.2 kB / 0.5788 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008564/0.2043, allocations: 267.5 kB / 0.579 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008195/0.2125, allocations: 5.899 MB / 0.5848 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.2135, allocations: 59.94 kB / 0.5849 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.2137, allocations: 68 kB / 0.5849 GB, free: 4.43 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.0009676/0.2147, allocations: 465.1 kB / 0.5854 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.2149, allocations: 95.39 kB / 0.5855 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.2175, allocations: 1.384 MB / 0.5868 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.2175, allocations: 8 kB / 0.5868 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.2175, allocations: 4 kB / 0.5868 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.2175, allocations: 7.984 kB / 0.5868 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.2219, allocations: 2.479 MB / 0.5892 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.2219, allocations: 4 kB / 0.5892 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.2225, allocations: 135.8 kB / 0.5894 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005358/0.223, allocations: 186.3 kB / 0.5896 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/0.2231, allocations: 28.11 kB / 0.5896 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004481/0.2276, allocations: 4.949 MB / 0.5944 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2276, allocations: 0 / 0.5944 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.2304, allocations: 1.858 MB / 0.5962 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.231, allocations: 232.4 kB / 0.5964 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.2311, allocations: 31.86 kB / 0.5965 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.2316, allocations: 27.98 kB / 0.5965 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.2317, allocations: 64.5 kB / 0.5966 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.2318, allocations: 20 kB / 0.5966 GB, free: 7.707 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00074/0.2325, allocations: 0.4912 MB / 0.5971 GB, free: 7.223 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2325, allocations: 0 / 0.5971 GB, free: 7.223 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001268/0.2338, allocations: 328 kB / 0.5974 GB, free: 6.902 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.003214/0.237, allocations: 2.421 MB / 0.5997 GB, free: 4.371 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002928/0.2399, allocations: 1.495 MB / 0.6012 GB, free: 2.848 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2399, allocations: 1.938 kB / 0.6012 GB, free: 2.848 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.2414, allocations: 0.8004 MB / 0.602 GB, free: 2.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2424, allocations: 174.9 kB / 0.6022 GB, free: 1.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/0.2597, allocations: 10.51 MB / 0.6124 GB, free: 6.637 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.261, allocations: 1.321 MB / 0.6137 GB, free: 5.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009129/0.2619, allocations: 364.5 kB / 0.6141 GB, free: 4.918 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/0.2625, allocations: 459.3 kB / 0.6145 GB, free: 4.469 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2625, allocations: 0 / 0.6145 GB, free: 4.469 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.287/0.5495, allocations: 21.62 MB / 0.6356 GB, free: 83.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.21, allocations: 12.44 kB / 0.6356 GB, free: 83.01 MB / 478.1 MB " [Timeout remaining time 648] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.349496395792812]