Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.001391/0.001391, allocations: 116.9 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.001382/0.001382, allocations: 217.4 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.526/1.526, 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.1912/0.1912, allocations: 38.51 MB / 349.4 MB, free: 2.598 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.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",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.001992/0.001992, allocations: 65.34 kB / 487.8 MB, free: 32.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1128, allocations: 62.42 MB / 0.5374 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006474/0.1193, allocations: 4.537 MB / 0.5418 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.1222, allocations: 1.581 MB / 0.5433 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.1225, allocations: 19.81 kB / 0.5434 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008731/0.1234, allocations: 290.6 kB / 0.5436 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006432/0.124, allocations: 262.7 kB / 0.5439 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007213/0.1247, allocations: 259.4 kB / 0.5441 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007481/0.1255, allocations: 0.643 MB / 0.5448 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004264/0.1259, allocations: 232.7 kB / 0.545 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.1264, allocations: 302.8 kB / 0.5453 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.127, allocations: 418.7 kB / 0.5457 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.1271, allocations: 43.94 kB / 0.5457 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.1274, allocations: 167.7 kB / 0.5459 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.1277, allocations: 247.3 kB / 0.5461 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.128, allocations: 278.6 kB / 0.5464 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.1288, allocations: 0.6615 MB / 0.547 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1288, allocations: 0 / 0.547 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1288, allocations: 0 / 0.547 GB, free: 15.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1288, allocations: 0 / 0.547 GB, free: 15.6 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001981/0.1308, allocations: 0.9015 MB / 0.5479 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1308, allocations: 12.03 kB / 0.5479 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.701e-05/0.1308, allocations: 13.19 kB / 0.5479 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.1309, allocations: 90.69 kB / 0.548 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007288/0.1317, allocations: 128.5 kB / 0.5481 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1327, allocations: 0.4883 MB / 0.5486 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.1327, allocations: 37.12 kB / 0.5486 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.1329, allocations: 51.94 kB / 0.5487 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1339, allocations: 0.6879 MB / 0.5494 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.134, allocations: 7.938 kB / 0.5494 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/0.134, allocations: 16 kB / 0.5494 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.1341, allocations: 36.98 kB / 0.5494 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000871/0.135, allocations: 0.5228 MB / 0.5499 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.1391, allocations: 3.106 MB / 0.553 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.1397, allocations: 301.2 kB / 0.5533 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.14, allocations: 162.2 kB / 0.5534 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.14, allocations: 11.98 kB / 0.5534 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.14, allocations: 38.56 kB / 0.5535 GB, free: 8.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.14, allocations: 0 / 0.5535 GB, free: 8.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002289/0.1423, allocations: 1.235 MB / 0.5547 GB, free: 7.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.1424, allocations: 81.11 kB / 0.5547 GB, free: 7.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.1429, allocations: 393.7 kB / 0.5551 GB, free: 6.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.1429, allocations: 29.7 kB / 0.5551 GB, free: 6.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.1431, allocations: 308 kB / 0.5554 GB, free: 6.539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.1433, allocations: 123 kB / 0.5556 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.1434, allocations: 102.2 kB / 0.5557 GB, free: 6.312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.1436, allocations: 354.7 kB / 0.556 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.144, allocations: 193 kB / 0.5562 GB, free: 5.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.1445, allocations: 385.5 kB / 0.5565 GB, free: 5.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009304/0.1454, allocations: 0.5969 MB / 0.5571 GB, free: 4.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1454, allocations: 0 / 0.5571 GB, free: 4.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002085/0.1475, allocations: 0.8261 MB / 0.5579 GB, free: 3.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1475, allocations: 11.94 kB / 0.5579 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-05/0.1476, allocations: 11.98 kB / 0.558 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.1489, allocations: 266 kB / 0.5582 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/0.1495, allocations: 139.7 kB / 0.5583 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005466/0.155, allocations: 4.042 MB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.1554, allocations: 23.98 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.1554, allocations: 27.98 kB / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003248/0.1558, allocations: 229.8 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.1559, allocations: 43.7 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008749/0.1567, allocations: 492.8 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1567, allocations: 7.938 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1567, allocations: 0 / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1567, allocations: 0 / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.1583, allocations: 1.023 MB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1584, allocations: 4 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.1588, allocations: 88.06 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1588, allocations: 0 / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.1589, allocations: 19.98 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1589, allocations: 0 / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1589, allocations: 0 / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1599, allocations: 0.751 MB / 0.5649 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1601, allocations: 120.8 kB / 0.565 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.1601, allocations: 12.06 kB / 0.565 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.1604, allocations: 15.98 kB / 0.5651 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.1604, allocations: 28.06 kB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.1605, allocations: 15.92 kB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003057/0.1608, allocations: 267.1 kB / 0.5654 GB, free: 11.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1608, allocations: 0 / 0.5654 GB, free: 11.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.1614, allocations: 124 kB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.001438/0.1628, allocations: 1.296 MB / 0.5667 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.1644, allocations: 0.7751 MB / 0.5675 GB, free: 9.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1644, allocations: 0 / 0.5675 GB, free: 9.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.1647, allocations: 196.2 kB / 0.5677 GB, free: 9.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.1653, allocations: 85.05 kB / 0.5678 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00958/0.1749, allocations: 5.302 MB / 0.5729 GB, free: 3.652 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.1755, allocations: 0.9054 MB / 0.5738 GB, free: 2.719 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003887/0.1759, allocations: 131.3 kB / 0.5739 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.1762, allocations: 167.4 kB / 0.5741 GB, free: 2.422 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1762, allocations: 0 / 0.5741 GB, free: 2.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04155/0.2177, allocations: 10.77 MB / 0.5846 GB, free: 7.789 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.28, allocations: 14.64 kB / 0.5846 GB, free: 7.777 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.274508646980394] Failed to read output from testmodel.py, exit status != 0: 13.439596367010381 13.455207745 13.323433062 Calling exit ...