Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001741/0.001741, allocations: 119.3 kB / 17.79 MB, free: 5.285 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.001987/0.001987, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.429/1.429, allocations: 225.6 MB / 249.1 MB, free: 3.645 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.1875/0.1875, allocations: 38.5 MB / 342.5 MB, free: 8.145 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.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 69.33 kB / 478.6 MB, free: 33.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1195, allocations: 61.24 MB / 0.5272 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007204/0.1267, allocations: 4.755 MB / 0.5319 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1293, allocations: 1.34 MB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002731/0.1296, allocations: 19.94 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.1309, allocations: 406.3 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006483/0.1315, allocations: 246.7 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.1321, allocations: 179.6 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007344/0.1328, allocations: 0.5529 MB / 0.5345 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004946/0.1333, allocations: 269.8 kB / 0.5348 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.1337, allocations: 258.9 kB / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.1342, allocations: 291 kB / 0.5353 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/0.1343, allocations: 35.94 kB / 0.5353 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.1346, allocations: 131.8 kB / 0.5355 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.1348, allocations: 191.5 kB / 0.5356 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.1351, allocations: 222.9 kB / 0.5358 GB, free: 8.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007265/0.1358, allocations: 0.5369 MB / 0.5364 GB, free: 8.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1358, allocations: 0 / 0.5364 GB, free: 8.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1358, allocations: 0 / 0.5364 GB, free: 8.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1358, allocations: 4 kB / 0.5364 GB, free: 8.105 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001287/0.1371, allocations: 0.7218 MB / 0.5371 GB, free: 7.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.1372, allocations: 11.89 kB / 0.5371 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1373, allocations: 82.7 kB / 0.5372 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007086/0.138, allocations: 92.55 kB / 0.5373 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008043/0.1388, allocations: 412.3 kB / 0.5377 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.1388, allocations: 29.38 kB / 0.5377 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.139, allocations: 51.91 kB / 0.5377 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007658/0.1397, allocations: 476.8 kB / 0.5382 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1398, allocations: 4 kB / 0.5382 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.1398, allocations: 19.94 kB / 0.5382 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.1399, allocations: 24.98 kB / 0.5382 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.1405, allocations: 343.7 kB / 0.5386 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.1431, allocations: 1.637 MB / 0.5402 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.1435, allocations: 161.1 kB / 0.5403 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.1436, allocations: 109.7 kB / 0.5404 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1437, allocations: 0 / 0.5404 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.1437, allocations: 46.5 kB / 0.5405 GB, free: 3.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.1437, allocations: 0 / 0.5405 GB, free: 3.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001452/0.1452, allocations: 0.7809 MB / 0.5412 GB, free: 2.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.1452, allocations: 85.05 kB / 0.5413 GB, free: 2.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.1456, allocations: 308.5 kB / 0.5416 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.1456, allocations: 29.7 kB / 0.5416 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.1458, allocations: 260.2 kB / 0.5419 GB, free: 2.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.1459, allocations: 79.36 kB / 0.542 GB, free: 2.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.146, allocations: 57.7 kB / 0.542 GB, free: 1.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1462, allocations: 346.8 kB / 0.5423 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.1463, allocations: 95.8 kB / 0.5424 GB, free: 1.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.1466, allocations: 200.6 kB / 0.5426 GB, free: 1.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.1471, allocations: 335.4 kB / 0.5429 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1471, allocations: 4 kB / 0.5429 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009019/0.148, allocations: 425.9 kB / 0.5434 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.148, allocations: 8 kB / 0.5434 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005359/0.1486, allocations: 263.7 kB / 0.5436 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003662/0.1489, allocations: 72.78 kB / 0.5437 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.1492, allocations: 75.84 kB / 0.5438 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.1511, allocations: 1.719 MB / 0.5454 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.1514, allocations: 12 kB / 0.5454 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.1514, allocations: 15.98 kB / 0.5455 GB, free: 14.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.1517, allocations: 192.5 kB / 0.5456 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.1517, allocations: 31.77 kB / 0.5457 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.1522, allocations: 264.6 kB / 0.5459 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1522, allocations: 4 kB / 0.5459 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.1522, allocations: 4.062 kB / 0.5459 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1522, allocations: 3.984 kB / 0.5459 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.1535, allocations: 0.7525 MB / 0.5467 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1535, allocations: 0 / 0.5467 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.1538, allocations: 55.91 kB / 0.5467 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1538, allocations: 0 / 0.5467 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1538, allocations: 12 kB / 0.5467 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.1538, allocations: 4 kB / 0.5467 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1538, allocations: 0 / 0.5467 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.1544, allocations: 453.6 kB / 0.5472 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1545, allocations: 116.8 kB / 0.5473 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.1546, allocations: 12 kB / 0.5473 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.1547, allocations: 4 kB / 0.5473 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.1548, allocations: 11.98 kB / 0.5473 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1548, allocations: 15.98 kB / 0.5473 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.155, allocations: 215.1 kB / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.155, allocations: 0 / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004116/0.1554, allocations: 84 kB / 0.5476 GB, free: 11.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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.0009523/0.1564, allocations: 0.984 MB / 0.5486 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007165/0.1571, allocations: 363 kB / 0.5489 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1571, allocations: 0 / 0.5489 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.1573, allocations: 103.8 kB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.1578, allocations: 77 kB / 0.5491 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.1628, allocations: 3.533 MB / 0.5525 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.1633, allocations: 0.8461 MB / 0.5534 GB, free: 5.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.1636, allocations: 70.91 kB / 0.5534 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.1638, allocations: 151.3 kB / 0.5536 GB, free: 5.504 MB / 414.1 MB Notification: Performance of SimCode: time 1.522e-06/0.1638, allocations: 0 / 0.5536 GB, free: 5.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/0.2116, allocations: 7.271 MB / 0.5607 GB, free: 14.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.47, allocations: 5.344 kB / 0.5607 GB, free: 14.37 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.304637860041112] Failed to read output from testmodel.py, exit status != 0: 10.559910302050412 10.584230596 10.443914328 Calling exit ...