Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001867/0.001867, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 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.002397/0.002397, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.1915/0.1915, allocations: 38.5 MB / 348.7 MB, free: 2.598 MB / 270.1 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.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.89 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1291, allocations: 62.41 MB / 0.5367 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.01195/0.141, allocations: 6.612 MB / 0.5431 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006835/0.1479, allocations: 2.484 MB / 0.5455 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.1486, allocations: 35.69 kB / 0.5456 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.1511, allocations: 0.6298 MB / 0.5462 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.154, allocations: 0.6847 MB / 0.5469 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.1558, allocations: 455 kB / 0.5473 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002327/0.1581, allocations: 1.361 MB / 0.5486 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000878/0.159, allocations: 388 kB / 0.549 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.1602, allocations: 0.5993 MB / 0.5496 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.1615, allocations: 0.8489 MB / 0.5504 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.1616, allocations: 79.94 kB / 0.5505 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006228/0.1622, allocations: 299.5 kB / 0.5508 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005573/0.1628, allocations: 0.526 MB / 0.5513 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000585/0.1633, allocations: 0.5285 MB / 0.5518 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.1651, allocations: 1.35 MB / 0.5531 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1651, allocations: 0 / 0.5531 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1651, allocations: 0 / 0.5531 GB, free: 6.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.1651, allocations: 0 / 0.5531 GB, free: 6.629 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002854/0.168, allocations: 1.36 MB / 0.5545 GB, free: 5.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.168, allocations: 8.031 kB / 0.5545 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/0.1682, allocations: 156.2 kB / 0.5546 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.1696, allocations: 271.9 kB / 0.5549 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.1709, allocations: 0.7063 MB / 0.5556 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.919e-05/0.171, allocations: 62.36 kB / 0.5556 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.1712, allocations: 99.86 kB / 0.5557 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.1733, allocations: 1.384 MB / 0.5571 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.1733, allocations: 7.938 kB / 0.5571 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.346e-05/0.1734, allocations: 36 kB / 0.5571 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002805/0.1737, allocations: 117.9 kB / 0.5572 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.1755, allocations: 1.097 MB / 0.5583 GB, free: 1.125 MB / 414.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.007335/0.1828, allocations: 5.955 MB / 0.5641 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.1839, allocations: 0.6661 MB / 0.5648 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.1844, allocations: 287.3 kB / 0.565 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.1845, allocations: 20.53 kB / 0.565 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006885/0.1851, allocations: 468.6 kB / 0.5655 GB, free: 9.363 MB / 430.1 MB Notification: Performance of pre-optimization done (n=65): time 2.494e-06/0.1851, allocations: 0 / 0.5655 GB, free: 9.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.003845/0.189, allocations: 2.178 MB / 0.5676 GB, free: 7.113 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.1891, allocations: 170.8 kB / 0.5678 GB, free: 6.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000892/0.19, allocations: 0.6329 MB / 0.5684 GB, free: 6.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.1901, allocations: 37.7 kB / 0.5684 GB, free: 6.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005377/0.1906, allocations: 0.5424 MB / 0.569 GB, free: 5.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.1908, allocations: 245.9 kB / 0.5692 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.1911, allocations: 210.8 kB / 0.5694 GB, free: 5.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.1914, allocations: 390.6 kB / 0.5698 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/0.1919, allocations: 346.4 kB / 0.5701 GB, free: 4.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009643/0.1929, allocations: 0.7698 MB / 0.5709 GB, free: 3.523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.1945, allocations: 1.24 MB / 0.5721 GB, free: 2.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.1945, allocations: 8 kB / 0.5721 GB, free: 2.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002729/0.1973, allocations: 1.427 MB / 0.5735 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.1973, allocations: 46.56 kB / 0.5735 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001508/0.1988, allocations: 0.7777 MB / 0.5743 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008058/0.1996, allocations: 249.5 kB / 0.5745 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000722/0.2004, allocations: 223.6 kB / 0.5747 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005304/0.2057, allocations: 4.374 MB / 0.579 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.2064, allocations: 63.97 kB / 0.5791 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.2066, allocations: 63.97 kB / 0.5791 GB, free: 10.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007791/0.2073, allocations: 387 kB / 0.5795 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.2075, allocations: 83.42 kB / 0.5796 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.2091, allocations: 0.8595 MB / 0.5804 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.2091, allocations: 7.984 kB / 0.5804 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2091, allocations: 0 / 0.5804 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.2091, allocations: 8.047 kB / 0.5804 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.212, allocations: 1.771 MB / 0.5822 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.212, allocations: 0 / 0.5822 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/0.2128, allocations: 155.7 kB / 0.5823 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.2128, allocations: 4 kB / 0.5823 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.2128, allocations: 19.98 kB / 0.5823 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/0.2128, allocations: 4 kB / 0.5823 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2128, allocations: 0 / 0.5823 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.2149, allocations: 1.313 MB / 0.5836 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.2152, allocations: 204.6 kB / 0.5838 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.2153, allocations: 20 kB / 0.5838 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.2157, allocations: 31.97 kB / 0.5839 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.2158, allocations: 44.44 kB / 0.5839 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/0.2159, allocations: 39.97 kB / 0.5839 GB, free: 5.422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005861/0.2165, allocations: 423 kB / 0.5843 GB, free: 5.012 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2165, allocations: 0 / 0.5843 GB, free: 5.012 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001043/0.2175, allocations: 236 kB / 0.5846 GB, free: 4.781 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * 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 (64): * Single equations (assignments): 62 * 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.002522/0.22, allocations: 1.885 MB / 0.5864 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002373/0.2224, allocations: 1.19 MB / 0.5876 GB, free: 1.613 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2224, allocations: 4 kB / 0.5876 GB, free: 1.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.223, allocations: 418.8 kB / 0.588 GB, free: 1.191 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008973/0.2239, allocations: 137.6 kB / 0.5881 GB, free: 1.062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.292/0.516, allocations: 8.08 MB / 0.596 GB, free: 48.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009535/0.5169, allocations: 1.108 MB / 0.5971 GB, free: 47.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008823/0.5178, allocations: 291 kB / 0.5974 GB, free: 47.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.5182, allocations: 336.8 kB / 0.5977 GB, free: 47.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5182, allocations: 0 / 0.5977 GB, free: 47.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05847/0.5767, allocations: 16.29 MB / 0.6136 GB, free: 41.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.78, allocations: 5.688 kB / 0.6136 GB, free: 41.91 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.896516790991882] Failed to read output from testmodel.py, exit status != 0: 11.872488252993207 11.883511126 11.715819137 Calling exit ...