Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.0008799/0.0008799, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001014/0.001014, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8726/0.8726, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.237/0.237, allocations: 29.41 MB / 290.1 MB, free: 2.438 MB / 266.7 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.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.255e-05, allocations: 6.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005183/0.005196, allocations: 6.036 MB / 436.2 MB, free: 7.539 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.006835, allocations: 1.398 MB / 437.6 MB, free: 6.137 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.007054, allocations: 31.69 kB / 437.7 MB, free: 6.105 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.00745, allocations: 154.7 kB / 437.8 MB, free: 5.953 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005559/0.008006, allocations: 445.4 kB / 438.3 MB, free: 5.516 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.008332, allocations: 215.4 kB / 438.5 MB, free: 5.305 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007362/0.009068, allocations: 1.137 MB / 439.6 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.009315, allocations: 221.2 kB / 439.8 MB, free: 3.941 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006028/0.009918, allocations: 0.6504 MB / 440.5 MB, free: 3.289 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.01041, allocations: 0.5143 MB / 441 MB, free: 2.773 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.01047, allocations: 64 kB / 441.1 MB, free: 2.711 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.01055, allocations: 68 kB / 441.1 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.01074, allocations: 335.1 kB / 441.4 MB, free: 2.316 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.01092, allocations: 271.4 kB / 441.7 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.01147, allocations: 0.8802 MB / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.01148, allocations: 0 / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01148, allocations: 0 / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.01149, allocations: 0 / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001174/0.01266, allocations: 0.9665 MB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.01269, allocations: 11.98 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.263e-05/0.01278, allocations: 106.7 kB / 443.7 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1553/0.168, allocations: 71.33 kB / 443.7 MB, free: 54.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008532/0.1689, allocations: 0.5144 MB / 444.3 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.169, allocations: 225 kB / 444.5 MB, free: 54.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.1691, allocations: 62.19 kB / 444.5 MB, free: 54.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008282/0.1699, allocations: 0.7798 MB / 445.3 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1699, allocations: 0.5 kB / 445.3 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.17, allocations: 24.19 kB / 445.3 MB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-05/0.1701, allocations: 43.97 kB / 445.4 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.1708, allocations: 0.6902 MB / 446.1 MB, free: 54.12 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.1732, allocations: 2.499 MB / 448.6 MB, free: 52.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009066/0.1741, allocations: 0.6923 MB / 449.3 MB, free: 52.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.1744, allocations: 312.5 kB / 449.6 MB, free: 52.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.1744, allocations: 7.344 kB / 449.6 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1744, allocations: 41.28 kB / 449.6 MB, free: 52.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.475e-06/0.1744, allocations: 0 / 449.6 MB, free: 52.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002153/0.1766, allocations: 1.647 MB / 451.3 MB, free: 51.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1766, allocations: 91.17 kB / 451.4 MB, free: 51.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.1769, allocations: 426.1 kB / 451.8 MB, free: 51.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1769, allocations: 37.73 kB / 451.8 MB, free: 51.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.177, allocations: 320.6 kB / 452.1 MB, free: 50.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.1771, allocations: 144.4 kB / 452.3 MB, free: 50.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.481e-05/0.1772, allocations: 84.41 kB / 452.3 MB, free: 50.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.1772, allocations: 364.8 kB / 452.7 MB, free: 50.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.1775, allocations: 237 kB / 452.9 MB, free: 50.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.1778, allocations: 347.9 kB / 453.3 MB, free: 50.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.1783, allocations: 0.5855 MB / 453.9 MB, free: 49.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1783, allocations: 3.938 kB / 453.9 MB, free: 49.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007471/0.1791, allocations: 0.7128 MB / 454.6 MB, free: 49.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1791, allocations: 6.375 kB / 454.6 MB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1791, allocations: 3.062 kB / 454.6 MB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.1793, allocations: 74.44 kB / 454.7 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.18, allocations: 291.5 kB / 454.9 MB, free: 49.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.1825, allocations: 6.077 MB / 461 MB, free: 44.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1827, allocations: 41.66 kB / 461.1 MB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1827, allocations: 16.31 kB / 461.1 MB, free: 44.04 MB / 410.7 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002125/0.1829, allocations: 235.6 kB / 461.3 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.183, allocations: 55.5 kB / 461.4 MB, free: 43.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/0.1837, allocations: 0.65 MB / 462 MB, free: 43.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1837, allocations: 3.219 kB / 462 MB, free: 43.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1837, allocations: 1.5 kB / 462 MB, free: 43.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1837, allocations: 6.75 kB / 462 MB, free: 43.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1849, allocations: 1.344 MB / 463.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1849, allocations: 0 / 463.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.1856, allocations: 296.3 kB / 463.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.1857, allocations: 92.73 kB / 463.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.1857, allocations: 14.44 kB / 463.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008624/0.1866, allocations: 2.938 MB / 466.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1866, allocations: 6.922 kB / 466.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008983/0.1875, allocations: 1.048 MB / 467.8 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.1875, allocations: 46.81 kB / 467.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1876, allocations: 11.28 kB / 467.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1877, allocations: 33.67 kB / 467.8 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.1878, allocations: 39.14 kB / 467.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1878, allocations: 10 kB / 467.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.188, allocations: 298.2 kB / 468.2 MB, free: 39.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.188, allocations: 2.906 kB / 468.2 MB, free: 39.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.1884, allocations: 137.9 kB / 468.3 MB, free: 39.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.00102/0.1894, allocations: 1.583 MB / 469.9 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.1906, allocations: 0.9795 MB / 470.9 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1906, allocations: 4 kB / 470.9 MB, free: 38.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008195/0.1915, allocations: 0.7064 MB / 471.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.1919, allocations: 144 kB / 471.7 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.1959, allocations: 5.274 MB / 477 MB, free: 34.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.1961, allocations: 343 kB / 477.3 MB, free: 34.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.1963, allocations: 100.8 kB / 477.4 MB, free: 34.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.1964, allocations: 207.5 kB / 477.6 MB, free: 34.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1964, allocations: 4 kB / 477.6 MB, free: 34.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.2279, allocations: 14.24 MB / 491.9 MB, free: 32.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.069, allocations: 12.41 kB / 491.9 MB, free: 32.54 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.900920712389052] Failed to read output from testmodel.py, exit status != 0: 8.162577444687486 8.171116037 8.157987546 Calling exit ...