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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.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.1835/0.1835, allocations: 38.5 MB / 342.5 MB, free: 8.031 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003056/0.003056, allocations: 72.22 kB / 478.6 MB, free: 33.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.1017, allocations: 61.25 MB / 0.5272 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007697/0.1094, allocations: 5.559 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.1119, allocations: 1.375 MB / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/0.1123, allocations: 15.94 kB / 0.534 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.1128, allocations: 135 kB / 0.5341 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.1138, allocations: 390.1 kB / 0.5345 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.1142, allocations: 151.7 kB / 0.5346 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1152, allocations: 0.7786 MB / 0.5354 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.1156, allocations: 169.7 kB / 0.5356 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.1162, allocations: 354.6 kB / 0.5359 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007499/0.117, allocations: 422.5 kB / 0.5363 GB, free: 7.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1171, allocations: 40 kB / 0.5363 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1172, allocations: 40 kB / 0.5364 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.1174, allocations: 211.3 kB / 0.5366 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.1177, allocations: 270.6 kB / 0.5368 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008068/0.1185, allocations: 0.5873 MB / 0.5374 GB, free: 6.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1185, allocations: 0 / 0.5374 GB, free: 6.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1185, allocations: 4 kB / 0.5374 GB, free: 6.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1185, allocations: 0 / 0.5374 GB, free: 6.852 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001549/0.1201, allocations: 0.8992 MB / 0.5383 GB, free: 5.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1201, allocations: 15.89 kB / 0.5383 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.713e-05/0.1202, allocations: 82.72 kB / 0.5384 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1203, allocations: 68.52 kB / 0.5385 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009185/0.1212, allocations: 0.5104 MB / 0.539 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.1213, allocations: 29 kB / 0.539 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.1214, allocations: 44 kB / 0.539 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008074/0.1222, allocations: 0.5351 MB / 0.5396 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1222, allocations: 0 / 0.5396 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.1222, allocations: 16 kB / 0.5396 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/0.1223, allocations: 24.98 kB / 0.5396 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006443/0.1229, allocations: 395.6 kB / 0.54 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.1255, allocations: 1.928 MB / 0.5419 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.1261, allocations: 309.8 kB / 0.5421 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.1264, allocations: 169.6 kB / 0.5423 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1265, allocations: 0 / 0.5423 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.1269, allocations: 288.1 kB / 0.5426 GB, free: 1.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/0.1269, allocations: 4 kB / 0.5426 GB, free: 1.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002076/0.1289, allocations: 1.193 MB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.1291, allocations: 162.2 kB / 0.5439 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.1295, allocations: 401.8 kB / 0.5443 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.1295, allocations: 33.7 kB / 0.5443 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.1298, allocations: 300.2 kB / 0.5446 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.1299, allocations: 135.1 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.13, allocations: 90.2 kB / 0.5448 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1302, allocations: 362.8 kB / 0.5452 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.1304, allocations: 121.1 kB / 0.5453 GB, free: 14.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.1308, allocations: 293 kB / 0.5456 GB, free: 13.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/0.1314, allocations: 473.3 kB / 0.546 GB, free: 13.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1314, allocations: 7.938 kB / 0.546 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000795/0.1322, allocations: 0.5255 MB / 0.5465 GB, free: 12.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.1322, allocations: 33.7 kB / 0.5466 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1322, allocations: 4.688 kB / 0.5466 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.1322, allocations: 8 kB / 0.5466 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.1327, allocations: 115.8 kB / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1327, allocations: 8 kB / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.133, allocations: 27.97 kB / 0.5467 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.133, allocations: 27.98 kB / 0.5468 GB, free: 12.67 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.0002665/0.1333, allocations: 247.3 kB / 0.547 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.1334, allocations: 55.61 kB / 0.547 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007266/0.1341, allocations: 459.2 kB / 0.5475 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1341, allocations: 4 kB / 0.5475 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1341, allocations: 0 / 0.5475 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1341, allocations: 7.984 kB / 0.5475 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.1355, allocations: 0.9743 MB / 0.5484 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1355, allocations: 0 / 0.5484 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.1358, allocations: 71.95 kB / 0.5485 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1358, allocations: 0 / 0.5485 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.1359, allocations: 12 kB / 0.5485 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1359, allocations: 0 / 0.5485 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1359, allocations: 0 / 0.5485 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009835/0.1369, allocations: 0.7235 MB / 0.5492 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.137, allocations: 140.8 kB / 0.5494 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.1371, allocations: 20 kB / 0.5494 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1373, allocations: 15.98 kB / 0.5494 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1374, allocations: 23.91 kB / 0.5494 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.1374, allocations: 35.91 kB / 0.5495 GB, free: 9.754 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002897/0.1377, allocations: 271.1 kB / 0.5497 GB, free: 9.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1377, allocations: 0 / 0.5497 GB, free: 9.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.1382, allocations: 108.1 kB / 0.5498 GB, free: 9.387 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.001281/0.1395, allocations: 1.25 MB / 0.551 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000617/0.1401, allocations: 387 kB / 0.5514 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1401, allocations: 0 / 0.5514 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.1404, allocations: 224.6 kB / 0.5516 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.141, allocations: 111.1 kB / 0.5517 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/0.1462, allocations: 4.131 MB / 0.5558 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.1467, allocations: 0.882 MB / 0.5566 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.147, allocations: 88.31 kB / 0.5567 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.1472, allocations: 175.4 kB / 0.5569 GB, free: 1.824 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1472, allocations: 3.938 kB / 0.5569 GB, free: 1.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.1822, allocations: 8.766 MB / 0.5654 GB, free: 9.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.094/9.276, allocations: 13.34 kB / 0.5655 GB, free: 9.168 MB / 430.1 MB " [Timeout remaining time 651] (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: 12.179066536016762] Failed to read output from testmodel.py, exit status != 0: 9.352821910288185 9.375734552 9.25269664 Calling exit ...