Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001715/0.001715, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.002351/0.002351, allocations: 215 kB / 21.45 MB, free: 1.617 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.614/1.614, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1925/0.1925, allocations: 38.51 MB / 349.4 MB, free: 2.633 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="cs",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.002056/0.002056, allocations: 69.95 kB / 487.8 MB, free: 32.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1103, allocations: 62.42 MB / 0.5374 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007733/0.1181, allocations: 5.574 MB / 0.5428 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.1208, allocations: 1.394 MB / 0.5442 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.1211, allocations: 27.75 kB / 0.5442 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.1216, allocations: 143 kB / 0.5443 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009096/0.1225, allocations: 382.1 kB / 0.5447 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.1229, allocations: 151.7 kB / 0.5448 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009189/0.1238, allocations: 0.7748 MB / 0.5456 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.1241, allocations: 169.7 kB / 0.5458 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005813/0.1247, allocations: 362.5 kB / 0.5461 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000623/0.1253, allocations: 422.5 kB / 0.5465 GB, free: 132 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.92e-05/0.1254, allocations: 40 kB / 0.5466 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.509e-05/0.1255, allocations: 40 kB / 0.5466 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.1257, allocations: 211.3 kB / 0.5468 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.126, allocations: 278.5 kB / 0.5471 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007228/0.1267, allocations: 0.5834 MB / 0.5476 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1267, allocations: 0 / 0.5476 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1267, allocations: 0 / 0.5476 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1267, allocations: 0 / 0.5476 GB, free: 14.98 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001745/0.1285, allocations: 0.9109 MB / 0.5485 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1285, allocations: 8.031 kB / 0.5485 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.512e-05/0.1286, allocations: 13.19 kB / 0.5485 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.1287, allocations: 78.72 kB / 0.5486 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.1288, allocations: 60.56 kB / 0.5487 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000918/0.1297, allocations: 0.522 MB / 0.5492 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.1297, allocations: 32.98 kB / 0.5492 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.1298, allocations: 36 kB / 0.5492 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000833/0.1306, allocations: 0.5312 MB / 0.5498 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1306, allocations: 0 / 0.5498 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.1307, allocations: 20 kB / 0.5498 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/0.1307, allocations: 24.98 kB / 0.5498 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006443/0.1314, allocations: 387.6 kB / 0.5502 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.134, allocations: 1.936 MB / 0.5521 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.1346, allocations: 313.3 kB / 0.5524 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.135, allocations: 169.7 kB / 0.5525 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.135, allocations: 7.938 kB / 0.5525 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004132/0.1354, allocations: 280.2 kB / 0.5528 GB, free: 9.375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.264e-06/0.1354, allocations: 0 / 0.5528 GB, free: 9.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002044/0.1374, allocations: 1.205 MB / 0.554 GB, free: 8.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.1376, allocations: 170.3 kB / 0.5541 GB, free: 7.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.1381, allocations: 397.8 kB / 0.5545 GB, free: 7.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.1381, allocations: 29.7 kB / 0.5546 GB, free: 7.465 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.1384, allocations: 300.2 kB / 0.5548 GB, free: 7.168 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.1385, allocations: 126.9 kB / 0.555 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.1387, allocations: 94.14 kB / 0.555 GB, free: 6.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1389, allocations: 358.8 kB / 0.5554 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.1391, allocations: 121.1 kB / 0.5555 GB, free: 6.469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.1394, allocations: 290.1 kB / 0.5558 GB, free: 6.109 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.1401, allocations: 475.6 kB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1401, allocations: 0 / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008617/0.141, allocations: 0.5307 MB / 0.5568 GB, free: 5.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.141, allocations: 37.64 kB / 0.5568 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.141, allocations: 4 kB / 0.5568 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.1411, allocations: 8 kB / 0.5568 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.1415, allocations: 107.8 kB / 0.5569 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.1415, allocations: 8 kB / 0.5569 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.1418, allocations: 23.98 kB / 0.5569 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.1419, allocations: 32.17 kB / 0.557 GB, free: 4.793 MB / 414.1 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.0003582/0.1423, allocations: 259.1 kB / 0.5572 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.1423, allocations: 47.72 kB / 0.5573 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008101/0.1431, allocations: 451.4 kB / 0.5577 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1432, allocations: 4 kB / 0.5577 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1432, allocations: 0 / 0.5577 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1432, allocations: 3.984 kB / 0.5577 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.1447, allocations: 0.9788 MB / 0.5587 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1447, allocations: 0 / 0.5587 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.145, allocations: 63.89 kB / 0.5587 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.145, allocations: 4 kB / 0.5587 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.145, allocations: 8 kB / 0.5587 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.145, allocations: 4.062 kB / 0.5587 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.145, allocations: 4 kB / 0.5587 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.146, allocations: 0.7193 MB / 0.5594 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.1462, allocations: 140.7 kB / 0.5596 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.1463, allocations: 8 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.1465, allocations: 15.98 kB / 0.5596 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/0.1466, allocations: 31.97 kB / 0.5596 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.339e-05/0.1467, allocations: 43.88 kB / 0.5597 GB, free: 1.879 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003417/0.147, allocations: 267.1 kB / 0.5599 GB, free: 1.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.147, allocations: 3.938 kB / 0.5599 GB, free: 1.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005246/0.1475, allocations: 100 kB / 0.56 GB, free: 1.52 MB / 414.1 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.001569/0.1491, allocations: 1.263 MB / 0.5613 GB, free: 220 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006774/0.1498, allocations: 388.2 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1498, allocations: 4.188 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.1501, allocations: 227.4 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.1507, allocations: 104.5 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005945/0.1567, allocations: 4.134 MB / 0.566 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.1573, allocations: 0.8781 MB / 0.5668 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002872/0.1575, allocations: 96.3 kB / 0.5669 GB, free: 10.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.1578, allocations: 167.4 kB / 0.5671 GB, free: 9.934 MB / 430.1 MB Notification: Performance of SimCode: time 1.422e-06/0.1578, allocations: 0 / 0.5671 GB, free: 9.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.1886, allocations: 8.819 MB / 0.5757 GB, free: 1.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.382/9.57, allocations: 10.91 kB / 0.5757 GB, free: 1.281 MB / 430.1 MB " [Timeout remaining time 650] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.758149906992912] Failed to read output from testmodel.py, exit status != 0: 9.707429234986193 9.731235599 9.600034091 Calling exit ...