Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001296/0.001296, allocations: 116.1 kB / 18.49 MB, free: 4.559 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.001384/0.001384, allocations: 219 kB / 21.46 MB, free: 1.605 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.513/1.513, 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 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.1895/0.1895, allocations: 38.51 MB / 349.4 MB, free: 2.605 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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.00201/0.00201, allocations: 67.45 kB / 487.8 MB, free: 32.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1167, allocations: 62.41 MB / 0.5374 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008285/0.125, allocations: 5.563 MB / 0.5428 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.1275, allocations: 1.359 MB / 0.5441 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.1278, allocations: 23.81 kB / 0.5441 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.1283, allocations: 135 kB / 0.5443 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008981/0.1292, allocations: 378.3 kB / 0.5446 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1295, allocations: 135.8 kB / 0.5448 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009126/0.1304, allocations: 0.7552 MB / 0.5455 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.1307, allocations: 156.2 kB / 0.5456 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006669/0.1314, allocations: 358.6 kB / 0.546 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006559/0.1321, allocations: 398.6 kB / 0.5464 GB, free: 284 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/0.1321, allocations: 40 kB / 0.5464 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.1322, allocations: 36 kB / 0.5464 GB, free: 208 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.1324, allocations: 195.4 kB / 0.5466 GB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.1327, allocations: 246.9 kB / 0.5469 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006899/0.1334, allocations: 0.5328 MB / 0.5474 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1334, allocations: 0 / 0.5474 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1334, allocations: 4 kB / 0.5474 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1334, allocations: 0 / 0.5474 GB, free: 15.23 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001467/0.1349, allocations: 0.8121 MB / 0.5482 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1349, allocations: 12.03 kB / 0.5482 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.96e-05/0.1349, allocations: 13.19 kB / 0.5482 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.1351, allocations: 90.62 kB / 0.5483 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.907e-05/0.1351, allocations: 56.56 kB / 0.5483 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/0.136, allocations: 484.4 kB / 0.5488 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.1361, allocations: 33 kB / 0.5488 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.1362, allocations: 39.98 kB / 0.5489 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008031/0.137, allocations: 0.5 MB / 0.5494 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.137, allocations: 0 / 0.5494 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.137, allocations: 20 kB / 0.5494 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.1371, allocations: 21 kB / 0.5494 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.1377, allocations: 371.6 kB / 0.5498 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.1402, allocations: 2.072 MB / 0.5518 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.1407, allocations: 229.3 kB / 0.552 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.1409, allocations: 113.7 kB / 0.5521 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1409, allocations: 4 kB / 0.5521 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1409, allocations: 46.42 kB / 0.5521 GB, free: 10.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.141, allocations: 0 / 0.5521 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001278/0.1422, allocations: 0.7684 MB / 0.5529 GB, free: 9.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.1424, allocations: 85.05 kB / 0.553 GB, free: 9.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.1428, allocations: 381.5 kB / 0.5533 GB, free: 8.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1428, allocations: 29.7 kB / 0.5534 GB, free: 8.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.143, allocations: 291.8 kB / 0.5537 GB, free: 8.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.634e-05/0.1431, allocations: 91.25 kB / 0.5537 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.1433, allocations: 82.08 kB / 0.5538 GB, free: 8.227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1434, allocations: 350.8 kB / 0.5542 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1436, allocations: 88.86 kB / 0.5542 GB, free: 7.789 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.1439, allocations: 277.2 kB / 0.5545 GB, free: 7.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.1444, allocations: 404.4 kB / 0.5549 GB, free: 6.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1444, allocations: 4 kB / 0.5549 GB, free: 6.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007555/0.1451, allocations: 452.4 kB / 0.5553 GB, free: 6.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.1452, allocations: 8 kB / 0.5553 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.1452, allocations: 4 kB / 0.5553 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.1454, allocations: 53.45 kB / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.1457, allocations: 87.84 kB / 0.5555 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.1473, allocations: 1.622 MB / 0.5571 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.1476, allocations: 15.98 kB / 0.5571 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.1476, allocations: 23.94 kB / 0.5571 GB, free: 4.535 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002696/0.1479, allocations: 206.2 kB / 0.5573 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.1479, allocations: 43.66 kB / 0.5573 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.1483, allocations: 237 kB / 0.5576 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1483, allocations: 4.062 kB / 0.5576 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1483, allocations: 4 kB / 0.5576 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1484, allocations: 0 / 0.5576 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.1493, allocations: 0.6954 MB / 0.5582 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1493, allocations: 0 / 0.5582 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.1496, allocations: 47.92 kB / 0.5583 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1496, allocations: 4 kB / 0.5583 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1496, allocations: 8.25 kB / 0.5583 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/0.1496, allocations: 11.98 kB / 0.5583 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1496, allocations: 0 / 0.5583 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.1501, allocations: 430.5 kB / 0.5587 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1503, allocations: 120.9 kB / 0.5588 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.1503, allocations: 12 kB / 0.5588 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1504, allocations: 11.98 kB / 0.5589 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.1505, allocations: 7.984 kB / 0.5589 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1505, allocations: 12 kB / 0.5589 GB, free: 2.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.1508, allocations: 255.1 kB / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1508, allocations: 3.938 kB / 0.5591 GB, free: 2.328 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004839/0.1513, allocations: 92 kB / 0.5592 GB, free: 2.238 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.000888/0.1522, allocations: 0.9605 MB / 0.5601 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006773/0.1528, allocations: 374.5 kB / 0.5605 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1528, allocations: 3.938 kB / 0.5605 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.153, allocations: 81.28 kB / 0.5606 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.1536, allocations: 100.2 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/0.1587, allocations: 3.723 MB / 0.5643 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.1593, allocations: 0.8584 MB / 0.5652 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.1595, allocations: 84.08 kB / 0.5652 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.1598, allocations: 151.4 kB / 0.5654 GB, free: 11.57 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1598, allocations: 4 kB / 0.5654 GB, free: 11.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.193, allocations: 7.709 MB / 0.5729 GB, free: 4.031 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.11, allocations: 8.062 kB / 0.5729 GB, free: 4.023 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.033239343960304] Failed to read output from testmodel.py, exit status != 0: 11.260359609033912 11.287902127 11.149751078 Calling exit ...