Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008393/0.0008393, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8516/0.8516, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2203/0.2203, allocations: 29.41 MB / 290.1 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.297e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.00458/0.004593, allocations: 5.289 MB / 435.5 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.006162, allocations: 1.309 MB / 436.8 MB, free: 6.953 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.006381, allocations: 27.75 kB / 436.8 MB, free: 6.926 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.00676, allocations: 131 kB / 437 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006435/0.007403, allocations: 405.7 kB / 437.4 MB, free: 6.398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.007634, allocations: 151.7 kB / 437.5 MB, free: 6.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004905/0.008125, allocations: 0.8057 MB / 438.3 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.00832, allocations: 142.1 kB / 438.5 MB, free: 5.297 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.008756, allocations: 478.6 kB / 438.9 MB, free: 4.828 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.00912, allocations: 371 kB / 439.3 MB, free: 4.465 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.009163, allocations: 40 kB / 439.3 MB, free: 4.426 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.121e-05/0.009214, allocations: 40 kB / 439.4 MB, free: 4.387 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.009345, allocations: 223.3 kB / 439.6 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.009476, allocations: 179.5 kB / 439.8 MB, free: 3.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006708/0.01015, allocations: 0.5801 MB / 440.3 MB, free: 3.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01015, allocations: 0 / 440.3 MB, free: 3.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01015, allocations: 4 kB / 440.3 MB, free: 3.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.01016, allocations: 0 / 440.3 MB, free: 3.406 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0009112/0.01107, allocations: 0.8317 MB / 441.2 MB, free: 2.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.0111, allocations: 15.97 kB / 441.2 MB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.01117, allocations: 82.72 kB / 441.3 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.01123, allocations: 68.52 kB / 441.3 MB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.01176, allocations: 452.2 kB / 441.8 MB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.01178, allocations: 29.38 kB / 441.8 MB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.01183, allocations: 44.12 kB / 441.9 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.01236, allocations: 0.5681 MB / 442.4 MB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01237, allocations: 0 / 442.4 MB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.0124, allocations: 16 kB / 442.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.01243, allocations: 24.98 kB / 442.5 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.01286, allocations: 421.3 kB / 442.9 MB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1699/0.1827, allocations: 1.741 MB / 444.6 MB, free: 53.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.1831, allocations: 343.9 kB / 444.9 MB, free: 53.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.1833, allocations: 193.2 kB / 445.1 MB, free: 53.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1833, allocations: 4.188 kB / 445.1 MB, free: 53.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.1835, allocations: 311.4 kB / 445.4 MB, free: 53.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.1835, allocations: 0.7188 kB / 445.4 MB, free: 53.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001135/0.1847, allocations: 1.192 MB / 446.6 MB, free: 52.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1847, allocations: 164.1 kB / 446.8 MB, free: 52.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.1849, allocations: 404.4 kB / 447.2 MB, free: 52.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1849, allocations: 32.83 kB / 447.2 MB, free: 52.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.191e-05/0.185, allocations: 300 kB / 447.5 MB, free: 52.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.1851, allocations: 127.5 kB / 447.6 MB, free: 51.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.1851, allocations: 94.92 kB / 447.7 MB, free: 51.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.1852, allocations: 360.9 kB / 448.1 MB, free: 51.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1853, allocations: 147 kB / 448.2 MB, free: 51.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.1854, allocations: 312.2 kB / 448.5 MB, free: 51.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.1857, allocations: 492.3 kB / 449 MB, free: 50.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1857, allocations: 3.219 kB / 449 MB, free: 50.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000373/0.1861, allocations: 0.545 MB / 449.6 MB, free: 50.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.1861, allocations: 40.61 kB / 449.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1861, allocations: 3.969 kB / 449.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1861, allocations: 9.875 kB / 449.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.1863, allocations: 109.1 kB / 449.7 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1864, allocations: 12.72 kB / 449.7 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1865, allocations: 21.19 kB / 449.8 MB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.1865, allocations: 39.36 kB / 449.8 MB, free: 50.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.1866, allocations: 247.8 kB / 450 MB, free: 50.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1867, allocations: 47.84 kB / 450.1 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.187, allocations: 484.7 kB / 450.6 MB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.187, allocations: 3.188 kB / 450.6 MB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.187, allocations: 3.438 kB / 450.6 MB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.187, allocations: 5.25 kB / 450.6 MB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.1877, allocations: 0.9508 MB / 451.5 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1877, allocations: 0.6562 kB / 451.5 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.1878, allocations: 68.55 kB / 451.6 MB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1878, allocations: 3.219 kB / 451.6 MB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1878, allocations: 14.53 kB / 451.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1878, allocations: 7.125 kB / 451.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1878, allocations: 0 / 451.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.1883, allocations: 0.7782 MB / 452.4 MB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.1884, allocations: 64.72 kB / 452.5 MB, free: 49.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.1884, allocations: 14.12 kB / 452.5 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1885, allocations: 14.72 kB / 452.5 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.1886, allocations: 31.16 kB / 452.5 MB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.1886, allocations: 36.31 kB / 452.5 MB, free: 48.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1887, allocations: 264.1 kB / 452.8 MB, free: 48.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1887, allocations: 0 / 452.8 MB, free: 48.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.1889, allocations: 104.3 kB / 452.9 MB, free: 48.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005555/0.1895, allocations: 1.333 MB / 454.2 MB, free: 47.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.1898, allocations: 443.7 kB / 454.7 MB, free: 47.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1898, allocations: 3 kB / 454.7 MB, free: 47.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.19, allocations: 264.4 kB / 454.9 MB, free: 47.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1903, allocations: 102.2 kB / 455 MB, free: 47.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.1927, allocations: 4.235 MB / 459.3 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.1929, allocations: 284.3 kB / 459.5 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.193, allocations: 91.22 kB / 459.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.1931, allocations: 173.3 kB / 459.8 MB, free: 44.49 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1931, allocations: 1.312 kB / 459.8 MB, free: 44.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.2121, allocations: 9.702 MB / 469.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/6.999, allocations: 9.859 kB / 469.5 MB, free: 42.91 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.81301630847156] Failed to read output from testmodel.py, exit status != 0: 7.082015801221132 7.089150252 7.077430019 Calling exit ...