Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001624, allocations: 189 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 106.8 kB / 270.3 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2661/0.2661, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004378, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1097, allocations: 56.33 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01286/0.1226, allocations: 8.159 MB / 487.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008608/0.1313, allocations: 3.292 MB / 490.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.1326, allocations: 59.56 kB / 490.6 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.1338, allocations: 250.5 kB / 490.9 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.137, allocations: 0.6698 MB / 491.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.1396, allocations: 0.573 MB / 492.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.1418, allocations: 0.8712 MB / 493 MB, free: 4.023 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002627/0.1445, allocations: 1.019 MB / 494 MB, free: 2.961 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.146, allocations: 0.5449 MB / 494.6 MB, free: 2.414 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.1477, allocations: 0.7129 MB / 495.3 MB, free: 1.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002441/0.148, allocations: 56 kB / 495.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.1492, allocations: 383.4 kB / 495.7 MB, free: 1.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.1503, allocations: 0.6665 MB / 496.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005023/0.1508, allocations: 281 kB / 496.6 MB, free: 328 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.1534, allocations: 1.496 MB / 498.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1534, allocations: 4 kB / 498.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1534, allocations: 4 kB / 498.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.602e-05/0.1535, allocations: 0 / 498.1 MB, free: 14.81 MB / 346.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.004478/0.158, allocations: 1.414 MB / 499.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.158, allocations: 12.02 kB / 499.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006056/0.1587, allocations: 207.4 kB / 499.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.1615, allocations: 309.8 kB / 0.4884 GB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.1643, allocations: 0.8434 MB / 0.4892 GB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.1644, allocations: 90.42 kB / 0.4893 GB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006461/0.1651, allocations: 151.8 kB / 0.4894 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.1704, allocations: 2.064 MB / 0.4914 GB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.872e-05/0.1706, allocations: 7.938 kB / 0.4914 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.1708, allocations: 55.97 kB / 0.4915 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007891/0.1716, allocations: 182.5 kB / 0.4917 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004784/0.1764, allocations: 1.649 MB / 0.4933 GB, free: 7.562 MB / 346.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.01812/0.1946, allocations: 9.399 MB / 0.5025 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.1966, allocations: 0.8835 MB / 0.5033 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.1967, allocations: 20.59 kB / 0.5033 GB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.1968, allocations: 43.22 kB / 0.5034 GB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 3.838e-06/0.1968, allocations: 0 / 0.5034 GB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.008106/0.2049, allocations: 3.002 MB / 0.5063 GB, free: 9.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.2051, allocations: 90.05 kB / 0.5064 GB, free: 9.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.2065, allocations: 0.7504 MB / 0.5071 GB, free: 8.652 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.2067, allocations: 41.7 kB / 0.5072 GB, free: 8.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006691/0.2074, allocations: 0.7254 MB / 0.5079 GB, free: 7.871 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.2078, allocations: 311.7 kB / 0.5082 GB, free: 7.562 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.2079, allocations: 28 kB / 0.5082 GB, free: 7.535 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.2082, allocations: 366.7 kB / 0.5085 GB, free: 7.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.2093, allocations: 447.7 kB / 0.509 GB, free: 6.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.2111, allocations: 1.002 MB / 0.51 GB, free: 5.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.2127, allocations: 0.6353 MB / 0.5106 GB, free: 4.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.2127, allocations: 8 kB / 0.5106 GB, free: 4.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005811/0.2186, allocations: 1.9 MB / 0.5124 GB, free: 2.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.2187, allocations: 16 kB / 0.5125 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003745/0.2224, allocations: 1.187 MB / 0.5136 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.2247, allocations: 452.6 kB / 0.514 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.2264, allocations: 255.6 kB / 0.5143 GB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.309/0.5354, allocations: 5.591 MB / 0.5197 GB, free: 47.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.5367, allocations: 66.89 kB / 0.5198 GB, free: 47.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.5369, allocations: 64.73 kB / 0.5199 GB, free: 47.82 MB / 362.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 (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.000988/0.5379, allocations: 469.1 kB / 0.5203 GB, free: 47.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.5381, allocations: 88.5 kB / 0.5204 GB, free: 47.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.5415, allocations: 1.375 MB / 0.5217 GB, free: 46.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.5415, allocations: 8.875 kB / 0.5218 GB, free: 46.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.5415, allocations: 7.109 kB / 0.5218 GB, free: 46.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.5416, allocations: 4.641 kB / 0.5218 GB, free: 46.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006333/0.5479, allocations: 2.474 MB / 0.5242 GB, free: 45.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.548, allocations: 3.875 kB / 0.5242 GB, free: 45.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.5491, allocations: 135.2 kB / 0.5243 GB, free: 45.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009233/0.55, allocations: 184.6 kB / 0.5245 GB, free: 45.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.5502, allocations: 25.2 kB / 0.5245 GB, free: 45.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004784/0.5549, allocations: 4.644 MB / 0.5291 GB, free: 41.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.555, allocations: 2.109 kB / 0.5291 GB, free: 41.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/0.5593, allocations: 1.891 MB / 0.5309 GB, free: 40.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.5599, allocations: 222.8 kB / 0.5311 GB, free: 40.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.5601, allocations: 23.59 kB / 0.5311 GB, free: 40.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/0.5608, allocations: 32.53 kB / 0.5312 GB, free: 40.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.5611, allocations: 60.89 kB / 0.5312 GB, free: 40.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/0.5612, allocations: 31.66 kB / 0.5313 GB, free: 40.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009755/0.5621, allocations: 496.1 kB / 0.5317 GB, free: 39.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5622, allocations: 3.25 kB / 0.5317 GB, free: 39.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001967/0.5641, allocations: 323.1 kB / 0.532 GB, free: 39.94 MB / 362.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 (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.004349/0.5685, allocations: 2.794 MB / 0.5348 GB, free: 37.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00398/0.5726, allocations: 1.529 MB / 0.5363 GB, free: 37.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.5726, allocations: 4 kB / 0.5363 GB, free: 37.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.5749, allocations: 0.8242 MB / 0.5371 GB, free: 36.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.5761, allocations: 157.8 kB / 0.5372 GB, free: 36.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/0.5956, allocations: 20.67 MB / 0.5574 GB, free: 19.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.5968, allocations: 1.348 MB / 0.5587 GB, free: 18.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/0.5977, allocations: 475.6 kB / 0.5592 GB, free: 17.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.5977, allocations: 0.8438 kB / 0.5592 GB, free: 17.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.143/3.74, allocations: 29.6 MB / 0.5881 GB, free: 4.266 MB / 378.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_ThreeWinding.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)