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.001032/0.001032, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001201/0.001201, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.627/1.627, allocations: 205.4 MB / 223.4 MB, free: 5.273 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3706/0.3706, allocations: 38.06 MB / 309.7 MB, free: 9.168 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.000518/0.0005181, allocations: 12 kB / 376.6 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1104, allocations: 56.34 MB / 433 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.009527/0.12, allocations: 8.571 MB / 441.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007312/0.1273, allocations: 3.287 MB / 444.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.1286, allocations: 55.62 kB / 444.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009793/0.1296, allocations: 250.2 kB / 445.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.1325, allocations: 0.9259 MB / 446 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.1343, allocations: 0.5809 MB / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002887/0.1372, allocations: 2.507 MB / 449.1 MB, free: 6.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.1393, allocations: 1.012 MB / 450.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.1409, allocations: 0.6885 MB / 450.8 MB, free: 4.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.143, allocations: 1.13 MB / 452 MB, free: 3.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.1433, allocations: 56 kB / 452 MB, free: 3.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.1444, allocations: 399.4 kB / 452.4 MB, free: 3.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009721/0.1454, allocations: 0.7483 MB / 453.1 MB, free: 2.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006527/0.1461, allocations: 281 kB / 453.4 MB, free: 2.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.1486, allocations: 1.496 MB / 454.9 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1486, allocations: 0 / 454.9 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1486, allocations: 0 / 454.9 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001135/0.1487, allocations: 0 / 454.9 MB, free: 0.6172 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.2421/0.3909, allocations: 1.417 MB / 456.3 MB, free: 51.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3909, allocations: 13.66 kB / 456.4 MB, free: 51.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002611/0.3912, allocations: 214 kB / 456.6 MB, free: 51.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.3926, allocations: 284.3 kB / 456.8 MB, free: 51.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3939, allocations: 0.838 MB / 457.7 MB, free: 51.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.394, allocations: 94.72 kB / 457.8 MB, free: 51.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.3943, allocations: 146.1 kB / 457.9 MB, free: 51.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.397, allocations: 2.078 MB / 460 MB, free: 50.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.397, allocations: 11.16 kB / 460 MB, free: 50.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.3971, allocations: 56.14 kB / 460.1 MB, free: 50.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000357/0.3975, allocations: 182.2 kB / 460.2 MB, free: 50.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.3998, allocations: 1.664 MB / 461.9 MB, free: 50.53 MB / 382.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.008868/0.4087, allocations: 9.414 MB / 471.3 MB, free: 44.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.4097, allocations: 0.8915 MB / 472.2 MB, free: 43.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.4102, allocations: 435.6 kB / 472.6 MB, free: 43.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.71e-05/0.4103, allocations: 16.56 kB / 472.6 MB, free: 43.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.4103, allocations: 46.12 kB / 472.7 MB, free: 43.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.585e-06/0.4103, allocations: 4 kB / 472.7 MB, free: 43.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004171/0.4145, allocations: 3.031 MB / 475.7 MB, free: 41.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4145, allocations: 84.39 kB / 475.8 MB, free: 41.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006654/0.4152, allocations: 0.7534 MB / 476.6 MB, free: 41.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.4153, allocations: 40.8 kB / 476.6 MB, free: 41.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.4155, allocations: 0.7001 MB / 477.3 MB, free: 40.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.4157, allocations: 311.8 kB / 477.6 MB, free: 40.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.4158, allocations: 22.94 kB / 477.6 MB, free: 40.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4159, allocations: 405.8 kB / 478 MB, free: 40.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/0.4164, allocations: 456.6 kB / 478.5 MB, free: 40.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/0.4171, allocations: 1.01 MB / 479.5 MB, free: 39.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007135/0.4179, allocations: 0.6378 MB / 480.1 MB, free: 39.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.4179, allocations: 9.484 kB / 480.1 MB, free: 39.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002683/0.4206, allocations: 1.943 MB / 482.1 MB, free: 38.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4206, allocations: 12.94 kB / 482.1 MB, free: 38.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001755/0.4224, allocations: 1.206 MB / 483.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.4235, allocations: 451.7 kB / 483.7 MB, free: 37.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.4242, allocations: 254.8 kB / 484 MB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005239/0.4294, allocations: 5.411 MB / 489.4 MB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007366/0.4302, allocations: 59.69 kB / 489.4 MB, free: 34.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.829e-05/0.4303, allocations: 71.22 kB / 489.5 MB, free: 34.11 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 15,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006464/0.431, allocations: 470.2 kB / 490 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4311, allocations: 94.02 kB / 490.1 MB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.433, allocations: 1.385 MB / 491.5 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.4331, allocations: 9.125 kB / 491.5 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4331, allocations: 0 / 491.5 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.4331, allocations: 6.812 kB / 491.5 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.4364, allocations: 2.488 MB / 494 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4364, allocations: 1.344 kB / 494 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.4369, allocations: 127 kB / 494.1 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.4374, allocations: 184.8 kB / 494.3 MB, free: 31.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.4374, allocations: 27.47 kB / 494.3 MB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/0.4402, allocations: 4.595 MB / 498.9 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4402, allocations: 1.094 kB / 498.9 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.4427, allocations: 1.854 MB / 0.489 GB, free: 26.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/0.4432, allocations: 227.5 kB / 0.4892 GB, free: 26.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4433, allocations: 22.64 kB / 0.4892 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.4437, allocations: 27.91 kB / 0.4893 GB, free: 26.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.4438, allocations: 58.42 kB / 0.4893 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.4439, allocations: 27.97 kB / 0.4893 GB, free: 26.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007727/0.4447, allocations: 496.4 kB / 0.4898 GB, free: 26.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4447, allocations: 0 / 0.4898 GB, free: 26.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001625/0.4463, allocations: 322 kB / 0.4901 GB, free: 26.08 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002875/0.4492, allocations: 2.423 MB / 0.4925 GB, free: 24.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002891/0.4521, allocations: 1.536 MB / 0.494 GB, free: 23.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4521, allocations: 0 / 0.494 GB, free: 23.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.4535, allocations: 0.8355 MB / 0.4948 GB, free: 23.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.4546, allocations: 174.1 kB / 0.495 GB, free: 23.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.4708, allocations: 7.782 MB / 0.5026 GB, free: 18.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.4723, allocations: 1.313 MB / 0.5039 GB, free: 18.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001162/0.4735, allocations: 363.1 kB / 0.5042 GB, free: 18.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006289/0.4741, allocations: 472.1 kB / 0.5047 GB, free: 17.8 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4741, allocations: 0 / 0.5047 GB, free: 17.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/0.5183, allocations: 20.46 MB / 0.5246 GB, free: 2.094 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.5185, allocations: 216.2 kB / 0.5248 GB, free: 1.848 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/2.989, allocations: 0 / 0.5248 GB, free: 1.848 MB / 382.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/linux/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) Environment - environmentSimulation: