Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001268/0.001268, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.001278/0.001278, allocations: 185.2 kB / 20.73 MB, free: 2.332 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.401/1.401, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.1821/0.1821, allocations: 38.5 MB / 342.5 MB, free: 8.047 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.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 67.39 kB / 478.6 MB, free: 33.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1405, allocations: 61.24 MB / 0.5272 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.009279/0.1497, allocations: 4.626 MB / 0.5317 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.1528, allocations: 1.332 MB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.1531, allocations: 15.94 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.1546, allocations: 406.3 kB / 0.5334 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000806/0.1555, allocations: 246.8 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.1561, allocations: 175.6 kB / 0.5338 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009072/0.157, allocations: 0.5607 MB / 0.5344 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006467/0.1576, allocations: 229.2 kB / 0.5346 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005029/0.1581, allocations: 258.9 kB / 0.5348 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006797/0.1588, allocations: 295 kB / 0.5351 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.1589, allocations: 32 kB / 0.5352 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.1593, allocations: 135.7 kB / 0.5353 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.1596, allocations: 199.4 kB / 0.5355 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.1599, allocations: 222.9 kB / 0.5357 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009222/0.1608, allocations: 0.5059 MB / 0.5362 GB, free: 8.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1608, allocations: 0 / 0.5362 GB, free: 8.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1608, allocations: 0 / 0.5362 GB, free: 8.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1608, allocations: 0 / 0.5362 GB, free: 8.148 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001763/0.1626, allocations: 0.7141 MB / 0.5369 GB, free: 7.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.1626, allocations: 11.89 kB / 0.5369 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.1628, allocations: 74.72 kB / 0.537 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008943/0.1637, allocations: 84.59 kB / 0.537 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1647, allocations: 415.5 kB / 0.5374 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.1648, allocations: 21.38 kB / 0.5375 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.165, allocations: 55.81 kB / 0.5375 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.1661, allocations: 472.8 kB / 0.538 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.1661, allocations: 11.88 kB / 0.538 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.1662, allocations: 16 kB / 0.538 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.1663, allocations: 24.98 kB / 0.538 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/0.1672, allocations: 335.7 kB / 0.5383 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.1708, allocations: 1.699 MB / 0.54 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.1712, allocations: 145.1 kB / 0.5401 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.1714, allocations: 101.7 kB / 0.5402 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.1715, allocations: 4.281 kB / 0.5402 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.1715, allocations: 30.56 kB / 0.5403 GB, free: 3.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 3.336e-06/0.1715, allocations: 4 kB / 0.5403 GB, free: 3.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.002372/0.1739, allocations: 0.8637 MB / 0.5411 GB, free: 2.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.174, allocations: 77.11 kB / 0.5412 GB, free: 2.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.1745, allocations: 312.6 kB / 0.5415 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.1745, allocations: 29.69 kB / 0.5415 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.1748, allocations: 256 kB / 0.5418 GB, free: 2.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.1749, allocations: 67.47 kB / 0.5418 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.175, allocations: 57.94 kB / 0.5419 GB, free: 1.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.1753, allocations: 350.7 kB / 0.5422 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.1755, allocations: 96.09 kB / 0.5423 GB, free: 1.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.1759, allocations: 197.3 kB / 0.5425 GB, free: 1.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.1766, allocations: 311.4 kB / 0.5428 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1766, allocations: 0 / 0.5428 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001398/0.178, allocations: 457.7 kB / 0.5432 GB, free: 444 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.178, allocations: 11.92 kB / 0.5432 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009381/0.179, allocations: 284 kB / 0.5435 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007215/0.1797, allocations: 129 kB / 0.5436 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.1801, allocations: 60.02 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.1832, allocations: 2.383 MB / 0.546 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1834, allocations: 15.94 kB / 0.546 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.1835, allocations: 11.94 kB / 0.546 GB, free: 13.41 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.1837, allocations: 189.7 kB / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.1838, allocations: 31.81 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.1842, allocations: 249.4 kB / 0.5465 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1842, allocations: 3.938 kB / 0.5465 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1842, allocations: 4 kB / 0.5465 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.1842, allocations: 7.969 kB / 0.5465 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1854, allocations: 0.7155 MB / 0.5472 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1854, allocations: 0 / 0.5472 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.1856, allocations: 39.92 kB / 0.5472 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.1857, allocations: 28.83 kB / 0.5473 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.1858, allocations: 8 kB / 0.5473 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.1872, allocations: 1.592 MB / 0.5488 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1872, allocations: 0 / 0.5488 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.1878, allocations: 425.3 kB / 0.5492 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1879, allocations: 109 kB / 0.5493 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.188, allocations: 12 kB / 0.5493 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1881, allocations: 7.984 kB / 0.5494 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.1881, allocations: 11.98 kB / 0.5494 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1881, allocations: 4 kB / 0.5494 GB, free: 9.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.1884, allocations: 215.1 kB / 0.5496 GB, free: 9.508 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1884, allocations: 0 / 0.5496 GB, free: 9.508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000447/0.1888, allocations: 88 kB / 0.5497 GB, free: 9.422 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000912/0.1897, allocations: 0.9601 MB / 0.5506 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.1905, allocations: 374.4 kB / 0.551 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1905, allocations: 0 / 0.551 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.1908, allocations: 247.7 kB / 0.5512 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.1913, allocations: 72.98 kB / 0.5513 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.1961, allocations: 3.491 MB / 0.5547 GB, free: 4.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.1966, allocations: 0.8418 MB / 0.5555 GB, free: 3.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.1968, allocations: 66.92 kB / 0.5556 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.197, allocations: 127.4 kB / 0.5557 GB, free: 2.984 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.197, allocations: 0 / 0.5557 GB, free: 2.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.2336, allocations: 7.534 MB / 0.563 GB, free: 11.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.41, allocations: 13.81 kB / 0.563 GB, free: 11.57 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.231317388359457] Failed to read output from testmodel.py, exit status != 0: 12.503183470107615 12.517728387 12.353900623 Calling exit ...