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.0008105/0.0008105, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0007547/0.0007547, allocations: 174 kB / 23.95 MB, free: 0.6016 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.9286/0.9286, allocations: 177.2 MB / 204.3 MB, free: 5.75 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.2435/0.2435, allocations: 29.4 MB / 290.2 MB, free: 2.445 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: 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.001037/0.001037, allocations: 75.88 kB / 430.3 MB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2563, allocations: 62.45 MB / 492.8 MB, free: 19.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005117/0.2614, allocations: 5.287 MB / 498.1 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.2632, allocations: 1.306 MB / 499.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.2635, allocations: 27.34 kB / 499.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.2639, allocations: 132.6 kB / 499.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007113/0.2646, allocations: 383.1 kB / 499.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2649, allocations: 157.2 kB / 0.4884 GB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007585/0.2657, allocations: 0.7793 MB / 0.4891 GB, free: 14.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.266, allocations: 145 kB / 0.4893 GB, free: 14.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000663/0.2666, allocations: 464.9 kB / 0.4897 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005337/0.2672, allocations: 381.3 kB / 0.4901 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.2672, allocations: 39.34 kB / 0.4901 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.2673, allocations: 44.78 kB / 0.4901 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.2675, allocations: 206 kB / 0.4903 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.2677, allocations: 187.2 kB / 0.4905 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.2682, allocations: 0.5751 MB / 0.4911 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2682, allocations: 4 kB / 0.4911 GB, free: 13.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2682, allocations: 1.125 kB / 0.4911 GB, free: 13.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.2682, allocations: 0 / 0.4911 GB, free: 13.4 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.001064/0.2693, allocations: 0.8334 MB / 0.4919 GB, free: 12.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2693, allocations: 14.58 kB / 0.4919 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.2694, allocations: 85.06 kB / 0.492 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.2695, allocations: 61.81 kB / 0.492 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.27, allocations: 455.1 kB / 0.4925 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.27, allocations: 33 kB / 0.4925 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.2701, allocations: 44.19 kB / 0.4926 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.2706, allocations: 0.5634 MB / 0.4931 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2706, allocations: 0.9688 kB / 0.4931 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.2706, allocations: 17.22 kB / 0.4931 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.2707, allocations: 21.41 kB / 0.4931 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.2711, allocations: 426.6 kB / 0.4936 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.2728, allocations: 1.754 MB / 0.4953 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.2734, allocations: 335.8 kB / 0.4956 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.2736, allocations: 192.7 kB / 0.4958 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.2736, allocations: 3.688 kB / 0.4958 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.2739, allocations: 312 kB / 0.4961 GB, free: 9.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.854e-06/0.2739, allocations: 0 / 0.4961 GB, free: 9.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001296/0.2752, allocations: 1.198 MB / 0.4972 GB, free: 8.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2753, allocations: 172.9 kB / 0.4974 GB, free: 8.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.2755, allocations: 407.6 kB / 0.4978 GB, free: 8.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2755, allocations: 32.08 kB / 0.4978 GB, free: 8.301 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2757, allocations: 300.5 kB / 0.4981 GB, free: 8.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.2757, allocations: 119 kB / 0.4982 GB, free: 7.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.2758, allocations: 100.2 kB / 0.4983 GB, free: 7.867 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.2758, allocations: 354.3 kB / 0.4987 GB, free: 7.523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.276, allocations: 148.6 kB / 0.4988 GB, free: 7.438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.2761, allocations: 318.6 kB / 0.4991 GB, free: 7.133 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.2765, allocations: 484.2 kB / 0.4996 GB, free: 6.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2765, allocations: 6.562 kB / 0.4996 GB, free: 6.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005015/0.277, allocations: 0.5486 MB / 0.5001 GB, free: 6.398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.277, allocations: 38.36 kB / 0.5001 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.277, allocations: 5.938 kB / 0.5001 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.2771, allocations: 12.59 kB / 0.5002 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.2773, allocations: 108.5 kB / 0.5003 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2773, allocations: 7.281 kB / 0.5003 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.2775, allocations: 24.83 kB / 0.5003 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.2775, allocations: 33.39 kB / 0.5003 GB, free: 6.309 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.0001806/0.2777, allocations: 248.6 kB / 0.5006 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.2778, allocations: 46.88 kB / 0.5006 GB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.2782, allocations: 489.4 kB / 0.5011 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2782, allocations: 7.25 kB / 0.5011 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2782, allocations: 5.031 kB / 0.5011 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2782, allocations: 0 / 0.5011 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008468/0.2791, allocations: 0.9495 MB / 0.502 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2791, allocations: 5.375 kB / 0.502 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.2793, allocations: 67.11 kB / 0.5021 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.2793, allocations: 2.344 kB / 0.5021 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.2793, allocations: 9.625 kB / 0.5021 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2793, allocations: 6.406 kB / 0.5021 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2793, allocations: 9.109 kB / 0.5021 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.2799, allocations: 0.7697 MB / 0.5029 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.28, allocations: 65.45 kB / 0.5029 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.28, allocations: 9.719 kB / 0.5029 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2801, allocations: 15.77 kB / 0.5029 GB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.2802, allocations: 20.88 kB / 0.503 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.2802, allocations: 38.64 kB / 0.503 GB, free: 4.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.2804, allocations: 268.3 kB / 0.5033 GB, free: 4.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2804, allocations: 4.062 kB / 0.5033 GB, free: 4.285 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.2808, allocations: 102.9 kB / 0.5034 GB, free: 4.273 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.0007674/0.2815, allocations: 1.332 MB / 0.5047 GB, free: 3.211 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.282, allocations: 446.1 kB / 0.5051 GB, free: 2.945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.282, allocations: 0 / 0.5051 GB, free: 2.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.2822, allocations: 262 kB / 0.5053 GB, free: 2.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.2826, allocations: 104.7 kB / 0.5054 GB, free: 2.711 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.2859, allocations: 4.204 MB / 0.5095 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.2861, allocations: 279.1 kB / 0.5098 GB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.2863, allocations: 93.14 kB / 0.5099 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.2865, allocations: 179.1 kB / 0.5101 GB, free: 15.24 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2865, allocations: 0 / 0.5101 GB, free: 15.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.3098, allocations: 9.733 MB / 0.5196 GB, free: 6.164 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.209, allocations: 9.656 kB / 0.5196 GB, free: 6.16 MB / 426.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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.310803466942161] Failed to read output from testmodel.py, exit status != 0: 7.298368952702731 7.306280491 7.036274297 Calling exit ...