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.001645/0.001645, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002392/0.002392, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.581/1.581, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1918/0.1918, allocations: 38.53 MB / 352.5 MB, free: 12.53 MB / 286.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.002055/0.002055, allocations: 67.89 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3593, allocations: 62.47 MB / 0.542 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008831/0.3681, allocations: 6.717 MB / 0.5486 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.3732, allocations: 2.51 MB / 0.551 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005356/0.3738, allocations: 34.5 kB / 0.551 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.3756, allocations: 0.6346 MB / 0.5517 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.3778, allocations: 0.685 MB / 0.5523 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.3793, allocations: 466.9 kB / 0.5528 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.3816, allocations: 1.365 MB / 0.5541 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006844/0.3823, allocations: 413 kB / 0.5545 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.3834, allocations: 0.5959 MB / 0.5551 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.3851, allocations: 0.8452 MB / 0.5559 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.3853, allocations: 74.09 kB / 0.556 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007722/0.386, allocations: 324.1 kB / 0.5563 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.3866, allocations: 0.5291 MB / 0.5568 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.3872, allocations: 0.5247 MB / 0.5573 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.3888, allocations: 1.346 MB / 0.5586 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3889, allocations: 4 kB / 0.5586 GB, free: 3.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3889, allocations: 0 / 0.5586 GB, free: 3.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.3889, allocations: 0 / 0.5586 GB, free: 3.375 MB / 398.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.002433/0.3913, allocations: 1.285 MB / 0.5599 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3913, allocations: 15.98 kB / 0.5599 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.3915, allocations: 148.3 kB / 0.5601 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3928, allocations: 268 kB / 0.5603 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.3942, allocations: 0.6418 MB / 0.5609 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.3942, allocations: 66.34 kB / 0.561 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.3945, allocations: 99.86 kB / 0.5611 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.3965, allocations: 1.384 MB / 0.5624 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.3965, allocations: 7.938 kB / 0.5625 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.555e-05/0.3966, allocations: 39.98 kB / 0.5625 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/0.3969, allocations: 117.9 kB / 0.5626 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.3986, allocations: 1.093 MB / 0.5637 GB, free: 14.04 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.007296/0.4059, allocations: 5.868 MB / 0.5694 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.407, allocations: 0.5901 MB / 0.57 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.4074, allocations: 295.6 kB / 0.5703 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.513e-05/0.4074, allocations: 16.42 kB / 0.5703 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006729/0.4081, allocations: 472.8 kB / 0.5707 GB, free: 6.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.264e-06/0.4081, allocations: 0 / 0.5707 GB, free: 6.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003392/0.4115, allocations: 2.099 MB / 0.5728 GB, free: 4.316 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.4116, allocations: 170.9 kB / 0.5729 GB, free: 4.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/0.4124, allocations: 0.6406 MB / 0.5736 GB, free: 3.469 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.4124, allocations: 33.7 kB / 0.5736 GB, free: 3.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.4129, allocations: 0.5463 MB / 0.5741 GB, free: 2.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.4131, allocations: 249.9 kB / 0.5744 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.4134, allocations: 202.8 kB / 0.5746 GB, free: 2.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.4137, allocations: 394.7 kB / 0.5749 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.4142, allocations: 338.4 kB / 0.5753 GB, free: 1.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009617/0.4152, allocations: 0.7702 MB / 0.576 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.4169, allocations: 1.25 MB / 0.5772 GB, free: 15.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.4169, allocations: 4 kB / 0.5772 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002685/0.4196, allocations: 1.433 MB / 0.5786 GB, free: 13.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.4196, allocations: 41.64 kB / 0.5787 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00153/0.4212, allocations: 0.7801 MB / 0.5794 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007962/0.4219, allocations: 257.5 kB / 0.5797 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000962/0.4229, allocations: 215.6 kB / 0.5799 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005107/0.428, allocations: 4.183 MB / 0.584 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.4287, allocations: 51.97 kB / 0.584 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.4288, allocations: 63.97 kB / 0.5841 GB, free: 7.977 MB / 430.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.0006046/0.4294, allocations: 395 kB / 0.5845 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.4295, allocations: 83.42 kB / 0.5845 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.431, allocations: 0.8462 MB / 0.5854 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.431, allocations: 8 kB / 0.5854 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.431, allocations: 0 / 0.5854 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.431, allocations: 3.984 kB / 0.5854 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.4339, allocations: 1.756 MB / 0.5871 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4339, allocations: 0 / 0.5871 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/0.4346, allocations: 143.8 kB / 0.5872 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4346, allocations: 4 kB / 0.5872 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.4347, allocations: 23.98 kB / 0.5873 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.4347, allocations: 7.938 kB / 0.5873 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4347, allocations: 0 / 0.5873 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.4369, allocations: 1.316 MB / 0.5886 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/0.4373, allocations: 135.5 kB / 0.5887 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.4374, allocations: 16 kB / 0.5887 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.4378, allocations: 27.97 kB / 0.5887 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.4379, allocations: 48.34 kB / 0.5888 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/0.438, allocations: 43.97 kB / 0.5888 GB, free: 2.984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006756/0.4387, allocations: 423 kB / 0.5892 GB, free: 2.574 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4387, allocations: 0 / 0.5892 GB, free: 2.574 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001131/0.4398, allocations: 232 kB / 0.5894 GB, free: 2.348 MB / 430.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.002332/0.4421, allocations: 1.883 MB / 0.5913 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.4443, allocations: 1.2 MB / 0.5924 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4443, allocations: 4.125 kB / 0.5925 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006108/0.4449, allocations: 414.1 kB / 0.5928 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.4457, allocations: 136.3 kB / 0.593 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.4581, allocations: 8.088 MB / 0.6009 GB, free: 5.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009205/0.4591, allocations: 1.114 MB / 0.602 GB, free: 4.844 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000771/0.4598, allocations: 286.4 kB / 0.6022 GB, free: 4.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/0.4603, allocations: 339.3 kB / 0.6026 GB, free: 4.227 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4603, allocations: 4 kB / 0.6026 GB, free: 4.223 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/0.5157, allocations: 17.08 MB / 0.6192 GB, free: 3.297 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.2, allocations: 7.922 kB / 0.6193 GB, free: 3.289 MB / 462.1 MB " [Timeout remaining time 647] (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: 16.222391226998297] Failed to read output from testmodel.py, exit status != 0: 13.322242035996169 13.33974926 12.947426691 Calling exit ...