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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001397/0.001397, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.852/1.852, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001663/0.001663, allocations: 122.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2107/0.2107, allocations: 37.92 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.285e-05/5.287e-05, allocations: 4 kB / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3531, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.8394, allocations: 93.77 MB / 0.5319 GB, free: 31.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.8398, allocations: 89.81 kB / 0.532 GB, free: 31.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03323/0.873, allocations: 10.89 MB / 0.5426 GB, free: 30.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8731, allocations: 1 kB / 0.5426 GB, free: 30.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-05/0.8732, allocations: 17.16 kB / 0.5426 GB, free: 30.27 MB / 378.7 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.001596/0.8748, allocations: 0.6898 MB / 0.5433 GB, free: 29.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.8748, allocations: 7.375 kB / 0.5433 GB, free: 29.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.875, allocations: 80.05 kB / 0.5434 GB, free: 29.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.8751, allocations: 54.16 kB / 0.5434 GB, free: 29.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003618/0.8788, allocations: 1.19 MB / 0.5446 GB, free: 29.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.8788, allocations: 35.47 kB / 0.5446 GB, free: 29.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.8789, allocations: 43.02 kB / 0.5447 GB, free: 29.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.8796, allocations: 496.1 kB / 0.5451 GB, free: 29.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.8796, allocations: 0 / 0.5451 GB, free: 29.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.8797, allocations: 18.91 kB / 0.5451 GB, free: 29.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.479e-05/0.8797, allocations: 18.44 kB / 0.5452 GB, free: 29.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.8802, allocations: 357.9 kB / 0.5455 GB, free: 29.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.8824, allocations: 2.09 MB / 0.5475 GB, free: 27.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.8828, allocations: 237.8 kB / 0.5478 GB, free: 27.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.883, allocations: 127.7 kB / 0.5479 GB, free: 27.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.883, allocations: 192 / 0.5479 GB, free: 27.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.883, allocations: 38.59 kB / 0.5479 GB, free: 27.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.883, allocations: 0 / 0.5479 GB, free: 27.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009727/0.884, allocations: 0.6902 MB / 0.5486 GB, free: 27.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.8841, allocations: 81.02 kB / 0.5487 GB, free: 27.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.8844, allocations: 329.2 kB / 0.549 GB, free: 27.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.8844, allocations: 31.2 kB / 0.549 GB, free: 27.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.8846, allocations: 289.2 kB / 0.5493 GB, free: 27.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.341e-05/0.8847, allocations: 87.58 kB / 0.5494 GB, free: 26.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.8847, allocations: 12.62 kB / 0.5494 GB, free: 26.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.8848, allocations: 353.1 kB / 0.5497 GB, free: 26.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.8849, allocations: 84.09 kB / 0.5498 GB, free: 26.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.8852, allocations: 267.1 kB / 0.5501 GB, free: 26.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.8854, allocations: 132.9 kB / 0.5502 GB, free: 26.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8854, allocations: 1.5 kB / 0.5502 GB, free: 26.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006892/0.8861, allocations: 454.6 kB / 0.5506 GB, free: 26.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.8861, allocations: 8.062 kB / 0.5506 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.8861, allocations: 5.938 kB / 0.5506 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.8863, allocations: 54.77 kB / 0.5507 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.8866, allocations: 85.67 kB / 0.5508 GB, free: 26.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.8878, allocations: 1.489 MB / 0.5522 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.888, allocations: 15.62 kB / 0.5522 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.8881, allocations: 23.98 kB / 0.5523 GB, free: 25 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/0.8882, allocations: 135.6 kB / 0.5524 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.8882, allocations: 39.45 kB / 0.5524 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.8886, allocations: 241.8 kB / 0.5527 GB, free: 24.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8886, allocations: 0 / 0.5527 GB, free: 24.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.8886, allocations: 3.906 kB / 0.5527 GB, free: 24.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8886, allocations: 3.516 kB / 0.5527 GB, free: 24.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.8893, allocations: 0.6734 MB / 0.5533 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8893, allocations: 0 / 0.5533 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.8896, allocations: 52.92 kB / 0.5534 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.8896, allocations: 7.938 kB / 0.5534 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.8896, allocations: 3.688 kB / 0.5534 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8896, allocations: 7.281 kB / 0.5534 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8896, allocations: 4 kB / 0.5534 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.89, allocations: 451.9 kB / 0.5538 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.8901, allocations: 119.6 kB / 0.5539 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.8902, allocations: 15.16 kB / 0.554 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.8903, allocations: 3.812 kB / 0.554 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.8903, allocations: 11.38 kB / 0.554 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.8904, allocations: 15.3 kB / 0.554 GB, free: 24.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002175/0.8906, allocations: 251.4 kB / 0.5542 GB, free: 24.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8906, allocations: 0 / 0.5542 GB, free: 24.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000435/0.891, allocations: 107.6 kB / 0.5543 GB, free: 24.06 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007116/0.8918, allocations: 1.156 MB / 0.5555 GB, free: 23.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000578/0.8924, allocations: 387.2 kB / 0.5558 GB, free: 23.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8924, allocations: 0 / 0.5558 GB, free: 23.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.8925, allocations: 84.16 kB / 0.5559 GB, free: 23.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.893, allocations: 97.48 kB / 0.556 GB, free: 23.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.8942, allocations: 0.692 MB / 0.5567 GB, free: 22.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.8945, allocations: 0.8717 MB / 0.5575 GB, free: 22.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.8947, allocations: 83.86 kB / 0.5576 GB, free: 22.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.8949, allocations: 150.3 kB / 0.5578 GB, free: 22 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8949, allocations: 0 / 0.5578 GB, free: 22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.917, allocations: 7.779 MB / 0.5654 GB, free: 21.27 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.9173, allocations: 173.9 kB / 0.5655 GB, free: 21.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.301, allocations: 0 / 0.5655 GB, free: 21.05 MB / 378.7 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)