Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.000993/0.0009934, allocations: 95.94 kB / 16.3 MB, free: 5.992 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.001321/0.001321, allocations: 182.3 kB / 17.19 MB, free: 5.906 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.399/1.399, allocations: 205.4 MB / 223.4 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3127/0.3127, allocations: 38.06 MB / 309.7 MB, free: 9.035 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.0008197/0.0008199, allocations: 12 kB / 376.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1366, allocations: 56.34 MB / 432.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006088/0.1428, allocations: 5.56 MB / 438.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1453, allocations: 1.615 MB / 440.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.1456, allocations: 39.69 kB / 440.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.146, allocations: 123.2 kB / 440.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007392/0.1467, allocations: 331 kB / 440.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1471, allocations: 163.7 kB / 440.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.1475, allocations: 379.2 kB / 441.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.1478, allocations: 150.5 kB / 441.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.1482, allocations: 251 kB / 441.5 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.1487, allocations: 255.1 kB / 441.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.1487, allocations: 20 kB / 441.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.885e-05/0.1488, allocations: 20 kB / 441.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.149, allocations: 163.6 kB / 441.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1491, allocations: 113.5 kB / 442.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.1495, allocations: 395 kB / 442.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1495, allocations: 0 / 442.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1495, allocations: 0 / 442.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1495, allocations: 0 / 442.4 MB, free: 13.18 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001173/0.1507, allocations: 0.7305 MB / 443.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1507, allocations: 8.031 kB / 443.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.509e-05/0.1508, allocations: 78.53 kB / 443.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.1509, allocations: 51.42 kB / 443.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.1516, allocations: 455.3 kB / 443.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.1517, allocations: 29 kB / 443.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.1517, allocations: 36 kB / 443.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.1524, allocations: 0.4961 MB / 444.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1524, allocations: 0 / 444.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.1524, allocations: 16 kB / 444.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.1525, allocations: 21 kB / 444.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.153, allocations: 363.6 kB / 444.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.1553, allocations: 2.087 MB / 446.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.1557, allocations: 237.8 kB / 447 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1558, allocations: 12.22 kB / 447 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1558, allocations: 34.75 kB / 447.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.1558, allocations: 0 / 447.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001445/0.1573, allocations: 0.9462 MB / 448 MB, free: 7.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1573, allocations: 85.23 kB / 448.1 MB, free: 7.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.1577, allocations: 377.5 kB / 448.5 MB, free: 6.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.1577, allocations: 29.7 kB / 448.5 MB, free: 6.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1579, allocations: 287.1 kB / 448.8 MB, free: 6.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.158, allocations: 86.75 kB / 448.9 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.158, allocations: 12 kB / 448.9 MB, free: 6.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1582, allocations: 346.8 kB / 449.2 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1583, allocations: 92.75 kB / 449.3 MB, free: 5.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.1585, allocations: 277.2 kB / 449.6 MB, free: 5.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.1587, allocations: 131.9 kB / 449.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1588, allocations: 0 / 449.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006728/0.1594, allocations: 465.7 kB / 450.2 MB, free: 4.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1595, allocations: 8.125 kB / 450.2 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1595, allocations: 15.94 kB / 450.2 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/0.1597, allocations: 68.8 kB / 450.2 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.1599, allocations: 79.84 kB / 450.3 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.1614, allocations: 1.613 MB / 451.9 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.1616, allocations: 23.91 kB / 452 MB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.1616, allocations: 27.94 kB / 452 MB, free: 2.957 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002371/0.1619, allocations: 197.7 kB / 452.2 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.1619, allocations: 39.59 kB / 452.2 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.1624, allocations: 343 kB / 452.6 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1624, allocations: 4 kB / 452.6 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1624, allocations: 0 / 452.6 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1624, allocations: 3.953 kB / 452.6 MB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009125/0.1634, allocations: 0.7862 MB / 453.3 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1634, allocations: 0 / 453.3 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.1636, allocations: 43.91 kB / 453.4 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-05/0.1637, allocations: 24.81 kB / 453.4 MB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.1637, allocations: 4 kB / 453.4 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1991/0.3628, allocations: 1.376 MB / 454.8 MB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3629, allocations: 0 / 454.8 MB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007098/0.3636, allocations: 0.5592 MB / 455.4 MB, free: 49.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.3637, allocations: 119.8 kB / 455.5 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.3638, allocations: 5.781 kB / 455.5 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.364, allocations: 8.594 kB / 455.5 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.364, allocations: 19.02 kB / 455.5 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.364, allocations: 13.16 kB / 455.5 MB, free: 49.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.3643, allocations: 251.6 kB / 455.8 MB, free: 49.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3643, allocations: 0 / 455.8 MB, free: 49.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005342/0.3648, allocations: 93.62 kB / 455.9 MB, free: 49.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006476/0.3655, allocations: 1.232 MB / 457.1 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005775/0.3661, allocations: 394.8 kB / 457.5 MB, free: 48.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3661, allocations: 0 / 457.5 MB, free: 48.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.3663, allocations: 212.3 kB / 457.7 MB, free: 48.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.3667, allocations: 91.19 kB / 457.8 MB, free: 48.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.37, allocations: 6.668 MB / 464.4 MB, free: 43.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3704, allocations: 0.87 MB / 465.3 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.3707, allocations: 78.12 kB / 465.4 MB, free: 42.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.3709, allocations: 149 kB / 465.5 MB, free: 42.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3709, allocations: 0 / 465.5 MB, free: 42.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.3904, allocations: 7.352 MB / 472.9 MB, free: 42.06 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.3906, allocations: 202 kB / 473.1 MB, free: 41.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.24, allocations: 0 / 473.1 MB, free: 41.82 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) Environment - environmentSimulation: