Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001665/0.001665, allocations: 125 kB / 17.79 MB, free: 5.121 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.002079/0.002079, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.617 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.1854/0.1854, allocations: 38.5 MB / 342.5 MB, free: 8.023 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.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 64.41 kB / 478.6 MB, free: 33.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1047, allocations: 61.25 MB / 0.5272 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.00762/0.1123, allocations: 4.959 MB / 0.5321 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.1149, allocations: 1.305 MB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.1151, allocations: 11.94 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.1156, allocations: 123.1 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006821/0.1163, allocations: 330.4 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.1167, allocations: 155.7 kB / 0.5339 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008743/0.1176, allocations: 0.7009 MB / 0.5346 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.1178, allocations: 123.9 kB / 0.5347 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.1183, allocations: 306.9 kB / 0.535 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.119, allocations: 470.5 kB / 0.5355 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.371e-05/0.1191, allocations: 52 kB / 0.5355 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1192, allocations: 48 kB / 0.5356 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002858/0.1195, allocations: 235.4 kB / 0.5358 GB, free: 8.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.1198, allocations: 278.7 kB / 0.5361 GB, free: 8.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007673/0.1206, allocations: 0.6187 MB / 0.5367 GB, free: 7.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1206, allocations: 0 / 0.5367 GB, free: 7.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1206, allocations: 0 / 0.5367 GB, free: 7.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1206, allocations: 0 / 0.5367 GB, free: 7.754 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002175/0.1228, allocations: 0.9593 MB / 0.5376 GB, free: 6.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.1228, allocations: 11.89 kB / 0.5376 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.743e-05/0.1229, allocations: 70.72 kB / 0.5377 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.123, allocations: 56.61 kB / 0.5377 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.1244, allocations: 0.6229 MB / 0.5383 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.1244, allocations: 28.66 kB / 0.5384 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.1245, allocations: 47.94 kB / 0.5384 GB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008707/0.1254, allocations: 0.5556 MB / 0.539 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1254, allocations: 0 / 0.539 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.1255, allocations: 16 kB / 0.539 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000317/0.1258, allocations: 84.52 kB / 0.539 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.1264, allocations: 354.3 kB / 0.5394 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.1298, allocations: 2.063 MB / 0.5414 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009067/0.1307, allocations: 373.3 kB / 0.5418 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/0.1312, allocations: 289.5 kB / 0.542 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.1313, allocations: 4 kB / 0.542 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1313, allocations: 34.56 kB / 0.5421 GB, free: 1.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.1313, allocations: 4 kB / 0.5421 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004788/0.1361, allocations: 2.528 MB / 0.5445 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.1362, allocations: 85.05 kB / 0.5446 GB, free: 15.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.1366, allocations: 389.7 kB / 0.545 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.1367, allocations: 33.7 kB / 0.545 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.1369, allocations: 256.6 kB / 0.5453 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.1371, allocations: 138.8 kB / 0.5454 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1372, allocations: 98.2 kB / 0.5455 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.1374, allocations: 366.7 kB / 0.5458 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.1378, allocations: 241 kB / 0.5461 GB, free: 13.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.1383, allocations: 354.7 kB / 0.5464 GB, free: 13.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/0.1392, allocations: 0.6195 MB / 0.547 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1392, allocations: 4 kB / 0.547 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001828/0.141, allocations: 0.9979 MB / 0.548 GB, free: 11.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.141, allocations: 8 kB / 0.548 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1411, allocations: 416 / 0.548 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.1421, allocations: 417.2 kB / 0.5484 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.1424, allocations: 83.83 kB / 0.5485 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006068/0.1485, allocations: 5.139 MB / 0.5535 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.1489, allocations: 43.94 kB / 0.5535 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.1489, allocations: 20 kB / 0.5536 GB, free: 5.543 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000287/0.1492, allocations: 197.8 kB / 0.5538 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.1493, allocations: 43.72 kB / 0.5538 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.1508, allocations: 0.8309 MB / 0.5546 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1508, allocations: 8 kB / 0.5546 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1509, allocations: 4 kB / 0.5546 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1509, allocations: 3.984 kB / 0.5546 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.1534, allocations: 1.422 MB / 0.556 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1534, allocations: 0 / 0.556 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1535, allocations: 31.98 kB / 0.556 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.1548, allocations: 453.2 kB / 0.5565 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.1548, allocations: 31.97 kB / 0.5565 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00661/0.1614, allocations: 6.714 MB / 0.5631 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.1614, allocations: 4.344 kB / 0.5631 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.1634, allocations: 1.125 MB / 0.5642 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.1636, allocations: 116.8 kB / 0.5643 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.1637, allocations: 27.98 kB / 0.5643 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.164, allocations: 39.94 kB / 0.5643 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.1641, allocations: 39.88 kB / 0.5644 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.1641, allocations: 11.92 kB / 0.5644 GB, free: 9.688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003517/0.1645, allocations: 263.2 kB / 0.5646 GB, free: 9.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1645, allocations: 4 kB / 0.5646 GB, free: 9.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007319/0.1652, allocations: 160 kB / 0.5648 GB, free: 9.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002287/0.1675, allocations: 1.672 MB / 0.5664 GB, free: 7.543 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.1693, allocations: 0.8761 MB / 0.5673 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1693, allocations: 0 / 0.5673 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.171, allocations: 1.071 MB / 0.5683 GB, free: 5.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.1718, allocations: 134.8 kB / 0.5685 GB, free: 5.328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009287/0.1811, allocations: 6.264 MB / 0.5746 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.1817, allocations: 0.8898 MB / 0.5754 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.1819, allocations: 80.33 kB / 0.5755 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.1821, allocations: 151.4 kB / 0.5757 GB, free: 13.73 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1821, allocations: 0 / 0.5757 GB, free: 13.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0664/0.2485, allocations: 12.55 MB / 0.5879 GB, free: 1.312 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.11, allocations: 6.594 kB / 0.5879 GB, free: 1.309 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.347397146746516] Failed to read output from testmodel.py, exit status != 0: 11.202993359882385 11.232003955 11.106187085 Calling exit ...