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.001839/0.001839, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002333/0.002333, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.1893/0.1893, allocations: 38.55 MB / 353.2 MB, free: 12.34 MB / 286.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.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",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.00204/0.00204, allocations: 67.89 kB / 493.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3416, allocations: 62.46 MB / 0.5427 GB, free: 280 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008794/0.3504, allocations: 6.469 MB / 0.549 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004165/0.3546, allocations: 2.035 MB / 0.551 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004674/0.355, allocations: 36 kB / 0.551 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.3566, allocations: 0.5053 MB / 0.5515 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.3585, allocations: 0.5544 MB / 0.5521 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3598, allocations: 383 kB / 0.5524 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.3619, allocations: 1.305 MB / 0.5537 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009224/0.3628, allocations: 0.5399 MB / 0.5542 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.3639, allocations: 0.5654 MB / 0.5548 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.3651, allocations: 0.7316 MB / 0.5555 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.3653, allocations: 98.72 kB / 0.5556 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.3665, allocations: 0.5336 MB / 0.5561 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005687/0.367, allocations: 474.8 kB / 0.5566 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005979/0.3676, allocations: 450.1 kB / 0.557 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.3695, allocations: 1.483 MB / 0.5585 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3695, allocations: 0 / 0.5585 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3695, allocations: 0 / 0.5585 GB, free: 4.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.3695, allocations: 4 kB / 0.5585 GB, free: 4.121 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002962/0.3725, allocations: 1.295 MB / 0.5597 GB, free: 2.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3725, allocations: 11.98 kB / 0.5597 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.153e-05/0.3725, allocations: 22.19 kB / 0.5598 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.3727, allocations: 147.7 kB / 0.5599 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009288/0.3737, allocations: 184.2 kB / 0.5601 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.375, allocations: 0.6213 MB / 0.5607 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.3753, allocations: 333.4 kB / 0.561 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.3756, allocations: 87.98 kB / 0.5611 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.378, allocations: 1.37 MB / 0.5624 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.378, allocations: 4 kB / 0.5624 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.3781, allocations: 32 kB / 0.5625 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/0.3783, allocations: 65.91 kB / 0.5625 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.3808, allocations: 1.292 MB / 0.5638 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007987/0.3888, allocations: 4.614 MB / 0.5683 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/0.3911, allocations: 1.022 MB / 0.5693 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.3924, allocations: 0.5696 MB / 0.5698 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.826e-05/0.3924, allocations: 12.66 kB / 0.5699 GB, free: 8.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.554e-05/0.3925, allocations: 47.2 kB / 0.5699 GB, free: 8.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 5.59e-06/0.3925, allocations: 0 / 0.5699 GB, free: 8.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006748/0.3993, allocations: 2.972 MB / 0.5728 GB, free: 5.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.3993, allocations: 85.77 kB / 0.5729 GB, free: 4.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.4, allocations: 465.9 kB / 0.5733 GB, free: 4.457 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.4, allocations: 37.7 kB / 0.5734 GB, free: 4.414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.4004, allocations: 396.4 kB / 0.5737 GB, free: 4.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.4007, allocations: 273.7 kB / 0.574 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.401, allocations: 150.6 kB / 0.5741 GB, free: 3.598 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.4012, allocations: 378.7 kB / 0.5745 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009512/0.4022, allocations: 0.4899 MB / 0.575 GB, free: 2.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.4033, allocations: 0.6872 MB / 0.5757 GB, free: 1.965 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.4054, allocations: 1.216 MB / 0.5768 GB, free: 0.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.4054, allocations: 0 / 0.5768 GB, free: 0.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004595/0.41, allocations: 1.899 MB / 0.5787 GB, free: 14.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4101, allocations: 6.812 kB / 0.5787 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003867/0.4139, allocations: 1.627 MB / 0.5803 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.4158, allocations: 0.6554 MB / 0.5809 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006471/0.4165, allocations: 159.7 kB / 0.5811 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/0.4288, allocations: 7.137 MB / 0.5881 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007996/0.4296, allocations: 71.91 kB / 0.5881 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.4297, allocations: 39.92 kB / 0.5882 GB, free: 4.832 MB / 430.1 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.0005034/0.4302, allocations: 303.1 kB / 0.5885 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.4303, allocations: 71.52 kB / 0.5885 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.4328, allocations: 1.222 MB / 0.5897 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.4328, allocations: 16 kB / 0.5897 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4328, allocations: 0 / 0.5897 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.4329, allocations: 3.984 kB / 0.5897 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/0.4369, allocations: 2.209 MB / 0.5919 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.437, allocations: 4.188 kB / 0.5919 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00267/0.4396, allocations: 495.3 kB / 0.5924 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.4397, allocations: 40.77 kB / 0.5924 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.4398, allocations: 19.98 kB / 0.5924 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.4411, allocations: 1.519 MB / 0.5939 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4411, allocations: 7.969 kB / 0.5939 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/0.4446, allocations: 1.935 MB / 0.5958 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.4448, allocations: 63.56 kB / 0.5959 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.4449, allocations: 16 kB / 0.5959 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/0.4454, allocations: 55.92 kB / 0.5959 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.4456, allocations: 68.47 kB / 0.596 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/0.4457, allocations: 20 kB / 0.596 GB, free: 12.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004293/0.4461, allocations: 318.9 kB / 0.5963 GB, free: 12.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4461, allocations: 0 / 0.5963 GB, free: 12.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009689/0.4471, allocations: 236 kB / 0.5965 GB, free: 12.01 MB / 446.1 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.00398/0.4511, allocations: 2.51 MB / 0.599 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003269/0.4543, allocations: 1.509 MB / 0.6005 GB, free: 7.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4543, allocations: 4.062 kB / 0.6005 GB, free: 7.914 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002904/0.4572, allocations: 0.9588 MB / 0.6014 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.4583, allocations: 169.4 kB / 0.6016 GB, free: 6.785 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/0.477, allocations: 9.299 MB / 0.6107 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.4775, allocations: 477.7 kB / 0.6111 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006407/0.4782, allocations: 213.5 kB / 0.6113 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/0.4787, allocations: 283.3 kB / 0.6116 GB, free: 12.22 MB / 462.1 MB Notification: Performance of SimCode: time 1.824e-06/0.4787, allocations: 0 / 0.6116 GB, free: 12.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05941/0.5381, allocations: 20.85 MB / 0.6319 GB, free: 7.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.26, allocations: 6.719 kB / 0.6319 GB, free: 7.656 MB / 478.1 MB " [Timeout remaining time 645] (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: 18.439150441088714] Failed to read output from testmodel.py, exit status != 0: 15.446320905000903 15.463537508 15.090451418 Calling exit ...