Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.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.0008283/0.0008283, allocations: 79.7 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.0009336/0.0009336, allocations: 174.3 kB / 23.95 MB, free: 0.6094 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.8849/0.8849, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2208/0.2208, allocations: 29.41 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.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.484e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.00559/0.005605, allocations: 6.373 MB / 436.6 MB, free: 7.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.008604, allocations: 2.017 MB / 438.6 MB, free: 5.156 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.008949, allocations: 35.75 kB / 438.6 MB, free: 5.121 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009417/0.009891, allocations: 0.4975 MB / 439.1 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008699/0.01076, allocations: 0.5829 MB / 439.7 MB, free: 4.035 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.01137, allocations: 367 kB / 440.1 MB, free: 3.676 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009255/0.0123, allocations: 1.329 MB / 441.4 MB, free: 2.344 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.01284, allocations: 0.5294 MB / 441.9 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007152/0.01356, allocations: 0.752 MB / 442.7 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.01416, allocations: 0.7093 MB / 443.4 MB, free: 344 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.01427, allocations: 112 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1704/0.1847, allocations: 0.6022 MB / 444.1 MB, free: 44.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005254/0.1852, allocations: 0.4953 MB / 444.6 MB, free: 44.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003973/0.1856, allocations: 385 kB / 445 MB, free: 44.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.1867, allocations: 1.64 MB / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1867, allocations: 0 / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1867, allocations: 0 / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1867, allocations: 2.594 kB / 446.6 MB, free: 44.8 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00156/0.1883, allocations: 1.314 MB / 447.9 MB, free: 44.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1883, allocations: 14.86 kB / 448 MB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.1884, allocations: 141.1 kB / 448.1 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.1889, allocations: 183.9 kB / 448.3 MB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006937/0.1896, allocations: 0.6178 MB / 448.9 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.1897, allocations: 330.7 kB / 449.2 MB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.1898, allocations: 85.97 kB / 449.3 MB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.191, allocations: 1.411 MB / 450.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.191, allocations: 3.375 kB / 450.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.1911, allocations: 34.73 kB / 450.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.1912, allocations: 83.28 kB / 450.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.1925, allocations: 1.515 MB / 452.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.196, allocations: 4.159 MB / 456.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.1973, allocations: 1.117 MB / 457.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/0.198, allocations: 0.7079 MB / 458.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.198, allocations: 16.2 kB / 458.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.198, allocations: 48.69 kB / 458.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 2.184e-06/0.198, allocations: 2.906 kB / 458.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.00354/0.2016, allocations: 3.636 MB / 462 MB, free: 39.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.2016, allocations: 87.94 kB / 462.1 MB, free: 39.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.2018, allocations: 406.2 kB / 462.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.2019, allocations: 40.89 kB / 462.5 MB, free: 38.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.202, allocations: 353.6 kB / 462.9 MB, free: 38.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.2021, allocations: 362.3 kB / 463.2 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.2022, allocations: 158.7 kB / 463.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.2023, allocations: 385.5 kB / 463.8 MB, free: 37.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/0.2028, allocations: 0.5891 MB / 464.4 MB, free: 37.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.2034, allocations: 0.7488 MB / 465.1 MB, free: 37.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.2046, allocations: 1.381 MB / 466.5 MB, free: 36.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2046, allocations: 0 / 466.5 MB, free: 36.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00142/0.206, allocations: 1.529 MB / 468 MB, free: 36.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.206, allocations: 8.125 kB / 468 MB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.206, allocations: 7.094 kB / 468 MB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.2061, allocations: 38.33 kB / 468.1 MB, free: 36.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.2072, allocations: 0.4926 MB / 468.6 MB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.21, allocations: 6.25 MB / 474.8 MB, free: 30.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.2103, allocations: 83.61 kB / 474.9 MB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.2103, allocations: 34.06 kB / 474.9 MB, free: 30.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0002497/0.2106, allocations: 320.5 kB / 475.2 MB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.2107, allocations: 74.11 kB / 475.3 MB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.2121, allocations: 1.52 MB / 476.8 MB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.2122, allocations: 20.72 kB / 476.9 MB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2122, allocations: 0 / 476.9 MB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.2122, allocations: 6.656 kB / 476.9 MB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.2146, allocations: 2.671 MB / 479.5 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2147, allocations: 3.25 kB / 479.5 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.2161, allocations: 0.5343 MB / 480.1 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.926e-05/0.2161, allocations: 35.45 kB / 480.1 MB, free: 28.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-05/0.2162, allocations: 27.73 kB / 480.1 MB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005222/0.2167, allocations: 1.526 MB / 481.7 MB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2167, allocations: 6.734 kB / 481.7 MB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.2192, allocations: 2.46 MB / 484.1 MB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.2193, allocations: 59.42 kB / 484.2 MB, free: 26.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.2194, allocations: 22.31 kB / 484.2 MB, free: 26.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.2196, allocations: 76.78 kB / 484.3 MB, free: 26.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.2198, allocations: 85.59 kB / 484.4 MB, free: 26.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.2198, allocations: 26.25 kB / 484.4 MB, free: 26.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.22, allocations: 277 kB / 484.7 MB, free: 26.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.22, allocations: 0 / 484.7 MB, free: 26.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005538/0.2205, allocations: 236 kB / 484.9 MB, free: 26.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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.002585/0.2231, allocations: 3.066 MB / 488 MB, free: 24.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.2253, allocations: 1.769 MB / 489.7 MB, free: 23.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2253, allocations: 4.062 kB / 489.7 MB, free: 23.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.2268, allocations: 1.134 MB / 490.9 MB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.2273, allocations: 150.4 kB / 491 MB, free: 23.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00893/0.2362, allocations: 8.855 MB / 499.9 MB, free: 19.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.2367, allocations: 487.7 kB / 0.4886 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005086/0.2372, allocations: 272.3 kB / 0.4889 GB, free: 19.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.2375, allocations: 293.3 kB / 0.4892 GB, free: 19 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2375, allocations: 0 / 0.4892 GB, free: 19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.2691, allocations: 19.3 MB / 0.508 GB, free: 7.656 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.371, allocations: 3.375 kB / 0.508 GB, free: 7.656 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.252841314300895] Failed to read output from testmodel.py, exit status != 0: 8.468745183199644 8.475777242 8.287410017000001 Calling exit ...