Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001283/0.001283, allocations: 113 kB / 18.49 MB, free: 4.539 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.001361/0.001361, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.477/1.477, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2152/0.2152, allocations: 38.5 MB / 349.4 MB, free: 2.578 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.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",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.001973/0.001973, allocations: 68.34 kB / 487.8 MB, free: 32.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1179, allocations: 62.42 MB / 0.5374 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006874/0.1248, allocations: 4.137 MB / 0.5414 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1265, allocations: 0.8802 MB / 0.5423 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.1267, allocations: 19.88 kB / 0.5423 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1269, allocations: 47.5 kB / 0.5423 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.1274, allocations: 167.1 kB / 0.5425 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1277, allocations: 75.84 kB / 0.5426 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.1282, allocations: 406.5 kB / 0.5429 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.1285, allocations: 90.25 kB / 0.543 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.1288, allocations: 191.2 kB / 0.5432 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.1292, allocations: 191.2 kB / 0.5434 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.1293, allocations: 24 kB / 0.5434 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.205e-05/0.1293, allocations: 20 kB / 0.5434 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1295, allocations: 87.73 kB / 0.5435 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.1297, allocations: 143.2 kB / 0.5437 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.1301, allocations: 290.7 kB / 0.5439 GB, free: 2.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1301, allocations: 0 / 0.5439 GB, free: 2.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1301, allocations: 0 / 0.5439 GB, free: 2.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1301, allocations: 0 / 0.5439 GB, free: 2.742 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001233/0.1313, allocations: 0.6124 MB / 0.5445 GB, free: 2.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1314, allocations: 8.031 kB / 0.5445 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.238e-05/0.1314, allocations: 4.625 kB / 0.5445 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.891e-05/0.1315, allocations: 58.73 kB / 0.5446 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.1315, allocations: 32.75 kB / 0.5446 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.1322, allocations: 335.2 kB / 0.5449 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.1322, allocations: 20.56 kB / 0.545 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.1323, allocations: 39.95 kB / 0.545 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.1328, allocations: 289.8 kB / 0.5453 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1328, allocations: 7.922 kB / 0.5453 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.1329, allocations: 12 kB / 0.5453 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.1329, allocations: 8 kB / 0.5453 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.1332, allocations: 187.8 kB / 0.5455 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.135, allocations: 1.272 MB / 0.5467 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.1354, allocations: 115.8 kB / 0.5468 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.1354, allocations: 50.56 kB / 0.5469 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1355, allocations: 0 / 0.5469 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1355, allocations: 38.56 kB / 0.5469 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.1355, allocations: 4 kB / 0.5469 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001083/0.1366, allocations: 0.5321 MB / 0.5475 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.1367, allocations: 106.8 kB / 0.5476 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.137, allocations: 250.6 kB / 0.5478 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.137, allocations: 25.7 kB / 0.5478 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1371, allocations: 196.3 kB / 0.548 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.1372, allocations: 47.58 kB / 0.548 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.1373, allocations: 41.8 kB / 0.5481 GB, free: 14.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1375, allocations: 338.8 kB / 0.5484 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.1376, allocations: 43.97 kB / 0.5485 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.1377, allocations: 128 kB / 0.5486 GB, free: 13.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.138, allocations: 183.8 kB / 0.5488 GB, free: 13.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.138, allocations: 4 kB / 0.5488 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004406/0.1384, allocations: 230 kB / 0.549 GB, free: 13.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1385, allocations: 4.406 kB / 0.549 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1385, allocations: 8 kB / 0.549 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.1386, allocations: 36.78 kB / 0.549 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.1389, allocations: 55.89 kB / 0.5491 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.139, allocations: 11.94 kB / 0.5491 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1391, allocations: 8 kB / 0.5491 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1391, allocations: 8 kB / 0.5491 GB, free: 12.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.1393, allocations: 157.6 kB / 0.5493 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.1393, allocations: 19.86 kB / 0.5493 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.1396, allocations: 155.2 kB / 0.5494 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.1396, allocations: 4 kB / 0.5494 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1396, allocations: 4 kB / 0.5494 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1396, allocations: 0 / 0.5494 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.1401, allocations: 285.5 kB / 0.5497 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1401, allocations: 7.984 kB / 0.5497 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.1402, allocations: 27.92 kB / 0.5497 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1402, allocations: 4 kB / 0.5497 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1403, allocations: 11.94 kB / 0.5497 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1403, allocations: 0 / 0.5497 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1403, allocations: 4 kB / 0.5498 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.1407, allocations: 355.5 kB / 0.5501 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.1408, allocations: 104.9 kB / 0.5502 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.1408, allocations: 7.938 kB / 0.5502 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.141, allocations: 4.062 kB / 0.5502 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.141, allocations: 11.98 kB / 0.5502 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.141, allocations: 4 kB / 0.5502 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.1412, allocations: 170 kB / 0.5504 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 0 / 0.5504 GB, free: 11.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.1415, allocations: 44 kB / 0.5504 GB, free: 11.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0008133/0.1424, allocations: 0.9037 MB / 0.5513 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.1427, allocations: 206.5 kB / 0.5515 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1427, allocations: 0 / 0.5515 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.018e-05/0.1428, allocations: 52.42 kB / 0.5516 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.1434, allocations: 55.19 kB / 0.5516 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.1467, allocations: 2.627 MB / 0.5542 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.1472, allocations: 0.7714 MB / 0.5549 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.1473, allocations: 34.27 kB / 0.555 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.1474, allocations: 91.41 kB / 0.555 GB, free: 6.527 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1474, allocations: 0 / 0.555 GB, free: 6.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.1725, allocations: 4.925 MB / 0.5599 GB, free: 1.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.61, allocations: 15.88 kB / 0.5599 GB, free: 1.727 MB / 414.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --stepSize=0.000270051 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.524295773997437] Failed to read output from testmodel.py, exit status != 0: 10.7505239090533 10.771656297 10.637428714 Calling exit ...