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.001073/0.001073, allocations: 97.28 kB / 16.3 MB, free: 5.562 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.001138/0.001138, allocations: 184 kB / 17.19 MB, free: 5.496 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.551/1.551, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1816/0.1816, allocations: 38.04 MB / 309.7 MB, free: 6.133 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.0005114/0.0005115, allocations: 19.12 kB / 376.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2668, allocations: 56.32 MB / 432.9 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.006692/0.2735, allocations: 8.154 MB / 441.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004809/0.2784, allocations: 3.292 MB / 444.4 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009051/0.2793, allocations: 55.62 kB / 444.4 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.28, allocations: 262.5 kB / 444.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.2817, allocations: 0.6581 MB / 445.3 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2829, allocations: 0.573 MB / 445.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008941/0.2838, allocations: 0.8712 MB / 446.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.2851, allocations: 1.022 MB / 447.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006357/0.2858, allocations: 0.5449 MB / 448.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007388/0.2865, allocations: 0.7051 MB / 449 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.675e-05/0.2867, allocations: 56 kB / 449.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006554/0.2873, allocations: 391.3 kB / 449.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004625/0.2878, allocations: 0.6665 MB / 450.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.288, allocations: 285 kB / 450.4 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.2893, allocations: 1.489 MB / 451.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2893, allocations: 0 / 451.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.2893, allocations: 0 / 451.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.2893, allocations: 0 / 451.9 MB, free: 15.71 MB / 334.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.003006/0.2923, allocations: 1.43 MB / 453.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/0.2924, allocations: 8.031 kB / 453.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004253/0.2928, allocations: 215.4 kB / 453.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.2946, allocations: 301.9 kB / 453.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.2963, allocations: 0.8434 MB / 454.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/0.2964, allocations: 90.41 kB / 454.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.2967, allocations: 147.9 kB / 454.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.2995, allocations: 2.064 MB / 457 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/0.2996, allocations: 11.92 kB / 457 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.2997, allocations: 51.98 kB / 457.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004478/0.3002, allocations: 182.5 kB / 457.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.3028, allocations: 1.649 MB / 458.9 MB, free: 8.445 MB / 334.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.01098/0.3138, allocations: 9.399 MB / 468.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.315, allocations: 0.8874 MB / 469.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-05/0.3151, allocations: 20.64 kB / 469.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.3152, allocations: 47.16 kB / 469.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 3.166e-06/0.3152, allocations: 0 / 469.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.004888/0.3201, allocations: 2.991 MB / 472.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.3202, allocations: 90.11 kB / 472.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000852/0.321, allocations: 0.7503 MB / 473.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/0.3211, allocations: 37.7 kB / 473.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.3216, allocations: 0.7034 MB / 473.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.3218, allocations: 315.7 kB / 474.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.3219, allocations: 24 kB / 474.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.3221, allocations: 410.7 kB / 474.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/0.3228, allocations: 443.7 kB / 475 MB, free: 7.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.3238, allocations: 0.9984 MB / 476 MB, free: 6.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000954/0.3248, allocations: 0.6352 MB / 476.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.3248, allocations: 4 kB / 476.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003306/0.3281, allocations: 1.935 MB / 478.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.3282, allocations: 16 kB / 478.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002079/0.3303, allocations: 1.191 MB / 479.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.3315, allocations: 448.3 kB / 480.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008553/0.3324, allocations: 263.5 kB / 480.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006609/0.339, allocations: 5.602 MB / 486 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008182/0.3399, allocations: 55.97 kB / 486.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/0.34, allocations: 71.94 kB / 486.2 MB, free: 11.85 MB / 366.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.0006759/0.3407, allocations: 469 kB / 486.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3408, allocations: 90.88 kB / 486.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.3428, allocations: 1.372 MB / 488.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.3428, allocations: 8 kB / 488.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3428, allocations: 4 kB / 488.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3428, allocations: 3.984 kB / 488.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.3465, allocations: 2.485 MB / 490.6 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.3465, allocations: 0 / 490.6 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.3471, allocations: 131.8 kB / 490.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/0.3476, allocations: 190.2 kB / 490.9 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.3476, allocations: 28.11 kB / 490.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/0.3516, allocations: 4.642 MB / 495.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.3516, allocations: 4.031 kB / 495.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.3542, allocations: 1.888 MB / 497.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.3547, allocations: 220 kB / 497.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.3548, allocations: 31.98 kB / 497.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.3551, allocations: 24.09 kB / 497.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.3553, allocations: 60.52 kB / 497.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/0.3553, allocations: 31.98 kB / 497.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006237/0.3559, allocations: 494.9 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.356, allocations: 4 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001275/0.3572, allocations: 324 kB / 498.6 MB, free: 14.61 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.00286/0.3601, allocations: 2.804 MB / 0.4897 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002692/0.3628, allocations: 1.521 MB / 0.4912 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3628, allocations: 0 / 0.4912 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.3643, allocations: 0.8286 MB / 0.492 GB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000851/0.3652, allocations: 155.9 kB / 0.4921 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.3824, allocations: 20.55 MB / 0.5122 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.3834, allocations: 1.346 MB / 0.5135 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009325/0.3844, allocations: 360.5 kB / 0.5139 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/0.3849, allocations: 467.3 kB / 0.5143 GB, free: 1.816 MB / 398.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3849, allocations: 0 / 0.5143 GB, free: 1.816 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2243/0.6092, allocations: 20.38 MB / 0.5342 GB, free: 77.37 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001255/0.6094, allocations: 211 kB / 0.5344 GB, free: 77.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.653, allocations: 0 / 0.5344 GB, free: 77.12 MB / 398.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: