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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 116.6 kB / 17.06 MB, free: 5.996 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.001046/0.001047, allocations: 198.8 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1882/0.1882, allocations: 37.99 MB / 309.2 MB, free: 5.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 71.91 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1035, allocations: 55.25 MB / 486.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009878/0.1134, allocations: 8.16 MB / 494.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006238/0.1198, allocations: 3.013 MB / 497.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009379/0.1207, allocations: 31.81 kB / 497.8 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.1233, allocations: 0.8945 MB / 498.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.1255, allocations: 0.9183 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.1272, allocations: 0.6275 MB / 0.4885 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00227/0.1295, allocations: 1.961 MB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008587/0.1304, allocations: 0.6499 MB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.1315, allocations: 0.829 MB / 0.4919 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.1329, allocations: 1.106 MB / 0.493 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.1331, allocations: 112 kB / 0.4931 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.1342, allocations: 0.5344 MB / 0.4936 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007189/0.1349, allocations: 0.7872 MB / 0.4944 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007857/0.1357, allocations: 0.7581 MB / 0.4951 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.1378, allocations: 2.005 MB / 0.4971 GB, free: 2.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.1379, allocations: 4 kB / 0.4971 GB, free: 2.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1379, allocations: 0 / 0.4971 GB, free: 2.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.512e-05/0.1379, allocations: 0 / 0.4971 GB, free: 2.352 MB / 382.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.003123/0.141, allocations: 1.668 MB / 0.4987 GB, free: 0.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1411, allocations: 11.89 kB / 0.4987 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002513/0.1414, allocations: 219.5 kB / 0.4989 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.143, allocations: 282.8 kB / 0.4992 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.1445, allocations: 0.9066 MB / 0.5001 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.1446, allocations: 90.78 kB / 0.5002 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.1449, allocations: 155.8 kB / 0.5003 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.1478, allocations: 2.084 MB / 0.5023 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/0.1479, allocations: 11.94 kB / 0.5024 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.148, allocations: 55.97 kB / 0.5024 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004219/0.1484, allocations: 178.4 kB / 0.5026 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/0.1511, allocations: 1.677 MB / 0.5042 GB, free: 10.75 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.01058/0.1617, allocations: 9.352 MB / 0.5133 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.1629, allocations: 0.9028 MB / 0.5142 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.1636, allocations: 439.5 kB / 0.5146 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.215e-05/0.1636, allocations: 20.62 kB / 0.5147 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1637, allocations: 47.22 kB / 0.5147 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 3.336e-06/0.1637, allocations: 0 / 0.5147 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.005229/0.1689, allocations: 3.037 MB / 0.5177 GB, free: 12.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.169, allocations: 86.11 kB / 0.5178 GB, free: 12.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.1701, allocations: 0.7583 MB / 0.5185 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/0.1702, allocations: 37.7 kB / 0.5185 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/0.1707, allocations: 0.7034 MB / 0.5192 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.171, allocations: 307.7 kB / 0.5195 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003808/0.1714, allocations: 251.3 kB / 0.5198 GB, free: 10.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.1716, allocations: 406.7 kB / 0.5201 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007804/0.1724, allocations: 451.7 kB / 0.5206 GB, free: 9.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.1737, allocations: 1.014 MB / 0.5216 GB, free: 7.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.1759, allocations: 1.61 MB / 0.5231 GB, free: 6.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.1759, allocations: 11.98 kB / 0.5231 GB, free: 6.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003899/0.1798, allocations: 1.954 MB / 0.5251 GB, free: 4.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.1799, allocations: 15.91 kB / 0.5251 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002336/0.1822, allocations: 1.203 MB / 0.5262 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.1837, allocations: 449.2 kB / 0.5267 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/0.1846, allocations: 255.6 kB / 0.5269 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2877/0.4723, allocations: 5.887 MB / 0.5327 GB, free: 47.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008799/0.4732, allocations: 61.19 kB / 0.5327 GB, free: 47.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.503e-05/0.4733, allocations: 68.02 kB / 0.5328 GB, free: 47.61 MB / 414.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.0006515/0.474, allocations: 468.8 kB / 0.5332 GB, free: 47.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.4741, allocations: 95.72 kB / 0.5333 GB, free: 47.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.4762, allocations: 1.381 MB / 0.5347 GB, free: 46.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4763, allocations: 10.62 kB / 0.5347 GB, free: 46.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4763, allocations: 6.344 kB / 0.5347 GB, free: 46.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4763, allocations: 8.781 kB / 0.5347 GB, free: 46.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/0.4801, allocations: 2.485 MB / 0.5371 GB, free: 45.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.4802, allocations: 1.938 kB / 0.5371 GB, free: 45.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.4807, allocations: 131.9 kB / 0.5373 GB, free: 45.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005371/0.4812, allocations: 185.4 kB / 0.5374 GB, free: 45.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.4813, allocations: 25.5 kB / 0.5375 GB, free: 45.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.485, allocations: 4.952 MB / 0.5423 GB, free: 41.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.485, allocations: 1.562 kB / 0.5423 GB, free: 41.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.4882, allocations: 1.86 MB / 0.5441 GB, free: 40.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/0.4888, allocations: 223.1 kB / 0.5443 GB, free: 40.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.4889, allocations: 31.84 kB / 0.5444 GB, free: 40 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.4893, allocations: 21.09 kB / 0.5444 GB, free: 39.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.4894, allocations: 62.53 kB / 0.5444 GB, free: 39.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.4895, allocations: 31.64 kB / 0.5445 GB, free: 39.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009221/0.4904, allocations: 0.4902 MB / 0.5449 GB, free: 39.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4904, allocations: 5.172 kB / 0.5449 GB, free: 39.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001824/0.4922, allocations: 323 kB / 0.5453 GB, free: 39.73 MB / 414.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.00366/0.4959, allocations: 2.411 MB / 0.5476 GB, free: 38.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003478/0.4994, allocations: 1.55 MB / 0.5491 GB, free: 37.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4995, allocations: 0 / 0.5491 GB, free: 37.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.5009, allocations: 0.8412 MB / 0.5499 GB, free: 37.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.502, allocations: 175.1 kB / 0.5501 GB, free: 36.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.5164, allocations: 10.5 MB / 0.5604 GB, free: 31.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/0.5173, allocations: 1.32 MB / 0.5617 GB, free: 30.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007876/0.5181, allocations: 366.2 kB / 0.562 GB, free: 30.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/0.5186, allocations: 454.2 kB / 0.5624 GB, free: 29.96 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5186, allocations: 0 / 0.5624 GB, free: 29.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04292/0.5615, allocations: 21.32 MB / 0.5833 GB, free: 9.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.76, allocations: 19.64 kB / 0.5833 GB, free: 9.609 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)