Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.0008111/0.0008111, 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.0008678/0.0008678, 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.8913/0.8913, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2157/0.2157, allocations: 29.4 MB / 290.1 MB, free: 2.434 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.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.105e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.005652/0.005673, allocations: 6.438 MB / 436.7 MB, free: 7.121 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.008769, allocations: 2.052 MB / 438.7 MB, free: 5.062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004507/0.00922, allocations: 35.69 kB / 438.7 MB, free: 5.027 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009809/0.0102, allocations: 0.5076 MB / 439.2 MB, free: 4.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009646/0.01117, allocations: 0.5672 MB / 439.8 MB, free: 3.949 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.01187, allocations: 394.9 kB / 440.2 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009897/0.01286, allocations: 1.321 MB / 441.5 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.01345, allocations: 0.541 MB / 442.1 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008432/0.01429, allocations: 0.7597 MB / 442.8 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.01501, allocations: 0.6547 MB / 443.5 MB, free: 272 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.01513, allocations: 100 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1758/0.1909, allocations: 0.5188 MB / 444.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005417/0.1915, allocations: 495.4 kB / 444.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004439/0.1919, allocations: 382.7 kB / 444.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.1931, allocations: 1.547 MB / 446.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1931, allocations: 2.125 kB / 446.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1931, allocations: 1.031 kB / 446.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1931, allocations: 0 / 446.5 MB, free: 44.88 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001639/0.1947, allocations: 1.282 MB / 447.8 MB, free: 44.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1947, allocations: 22.14 kB / 447.8 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.1949, allocations: 143.4 kB / 447.9 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005208/0.1954, allocations: 186.1 kB / 448.1 MB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007602/0.1961, allocations: 0.6139 MB / 448.7 MB, free: 43.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.1963, allocations: 332.3 kB / 449.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.1965, allocations: 89.16 kB / 449.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.1977, allocations: 1.365 MB / 450.5 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.1977, allocations: 8.906 kB / 450.5 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.1978, allocations: 36.81 kB / 450.6 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.798e-05/0.1979, allocations: 64.14 kB / 450.6 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.1993, allocations: 1.289 MB / 451.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.2034, allocations: 4.627 MB / 456.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.2046, allocations: 1.01 MB / 457.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.2051, allocations: 0.5829 MB / 458.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.2052, allocations: 7.281 kB / 458.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.2052, allocations: 49.52 kB / 458.2 MB, free: 40.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 2.395e-06/0.2052, allocations: 2.906 kB / 458.2 MB, free: 40.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.003316/0.2085, allocations: 2.968 MB / 461.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.2086, allocations: 86.67 kB / 461.2 MB, free: 38.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.2089, allocations: 471.5 kB / 461.7 MB, free: 38.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.2089, allocations: 40.92 kB / 461.7 MB, free: 38.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.209, allocations: 392.2 kB / 462.1 MB, free: 38.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.2091, allocations: 270.6 kB / 462.4 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.2093, allocations: 146.3 kB / 462.5 MB, free: 38.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.2094, allocations: 371.7 kB / 462.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.2098, allocations: 0.4961 MB / 463.4 MB, free: 37.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.2104, allocations: 0.6819 MB / 464.1 MB, free: 37.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.2114, allocations: 1.222 MB / 465.3 MB, free: 36.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2114, allocations: 0 / 465.3 MB, free: 36.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002261/0.2137, allocations: 1.898 MB / 467.2 MB, free: 36.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2137, allocations: 8.156 kB / 467.2 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001919/0.2156, allocations: 1.626 MB / 468.8 MB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009657/0.2166, allocations: 0.6587 MB / 469.5 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.2169, allocations: 153.6 kB / 469.6 MB, free: 35.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005821/0.2227, allocations: 7.145 MB / 476.8 MB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.2232, allocations: 77.55 kB / 476.9 MB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.2233, allocations: 30.06 kB / 476.9 MB, free: 31.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003862/0.2236, allocations: 306.5 kB / 477.2 MB, free: 31.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/0.2237, allocations: 65.98 kB / 477.3 MB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.225, allocations: 1.227 MB / 478.5 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.225, allocations: 16 kB / 478.5 MB, free: 30.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.225, allocations: 3.719 kB / 478.5 MB, free: 30.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.225, allocations: 7.938 kB / 478.5 MB, free: 30.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.2276, allocations: 2.196 MB / 480.7 MB, free: 29.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2276, allocations: 5.344 kB / 480.7 MB, free: 29.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.2289, allocations: 498.2 kB / 481.2 MB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.05e-05/0.229, allocations: 35.38 kB / 481.2 MB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.229, allocations: 21.58 kB / 481.2 MB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005727/0.2296, allocations: 1.518 MB / 482.8 MB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2296, allocations: 5 kB / 482.8 MB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.2316, allocations: 1.936 MB / 484.7 MB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.2317, allocations: 65.39 kB / 484.8 MB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.2317, allocations: 20.47 kB / 484.8 MB, free: 27.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.232, allocations: 57.08 kB / 484.8 MB, free: 27.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2321, allocations: 67.2 kB / 484.9 MB, free: 27.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.2321, allocations: 21.83 kB / 484.9 MB, free: 27.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002438/0.2324, allocations: 318.2 kB / 485.2 MB, free: 27.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2324, allocations: 0 / 485.2 MB, free: 27.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000786/0.2332, allocations: 237.8 kB / 485.5 MB, free: 27.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002179/0.2354, allocations: 2.499 MB / 488 MB, free: 25.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.2373, allocations: 1.516 MB / 489.5 MB, free: 25.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2373, allocations: 4.062 kB / 489.5 MB, free: 25.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.2388, allocations: 0.9643 MB / 490.5 MB, free: 24.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006728/0.2395, allocations: 168.5 kB / 490.6 MB, free: 24.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.2509, allocations: 9.133 MB / 499.8 MB, free: 20.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.2514, allocations: 478.7 kB / 0.4885 GB, free: 20.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004688/0.2518, allocations: 216.1 kB / 0.4887 GB, free: 20.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.2521, allocations: 292.1 kB / 0.489 GB, free: 20.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.2521, allocations: 0 / 0.489 GB, free: 20.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.2907, allocations: 21.02 MB / 0.5095 GB, free: 6.191 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.483, allocations: 11.88 kB / 0.5095 GB, free: 6.18 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.544971252791584] Failed to read output from testmodel.py, exit status != 0: 8.584659991785884 8.593705303 8.398810677 Calling exit ...