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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 108.9 kB / 17.06 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 200 kB / 18.01 MB, free: 4.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.181/0.181, allocations: 38.03 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.03 kB / 457.7 MB, free: 7.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3259, allocations: 58.05 MB / 0.5036 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006768/0.3327, allocations: 6.691 MB / 0.5101 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.3363, allocations: 2.12 MB / 0.5122 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.3368, allocations: 27.97 kB / 0.5122 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.3382, allocations: 0.4997 MB / 0.5127 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.3395, allocations: 0.5608 MB / 0.5133 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009054/0.3404, allocations: 348.7 kB / 0.5136 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.3419, allocations: 1.302 MB / 0.5149 GB, free: 144 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.3429, allocations: 0.723 MB / 0.5156 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.3439, allocations: 0.54 MB / 0.5161 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.3452, allocations: 0.7424 MB / 0.5168 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.3454, allocations: 105.3 kB / 0.5169 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.3467, allocations: 0.5958 MB / 0.5175 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005677/0.3473, allocations: 477.2 kB / 0.518 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006995/0.348, allocations: 0.533 MB / 0.5185 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.3502, allocations: 1.543 MB / 0.52 GB, free: 14.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3502, allocations: 0.9375 kB / 0.52 GB, free: 14.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3502, allocations: 5.094 kB / 0.52 GB, free: 14.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.3503, allocations: 0 / 0.52 GB, free: 14.15 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00367/0.354, allocations: 1.391 MB / 0.5214 GB, free: 13.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.354, allocations: 13.48 kB / 0.5214 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/0.3543, allocations: 147.6 kB / 0.5215 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008029/0.3551, allocations: 140.7 kB / 0.5217 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.3565, allocations: 0.7021 MB / 0.5223 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.3568, allocations: 171 kB / 0.5225 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.357, allocations: 93.53 kB / 0.5226 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.3597, allocations: 1.408 MB / 0.524 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.3597, allocations: 0 / 0.524 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.3599, allocations: 27.56 kB / 0.524 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/0.3601, allocations: 88.45 kB / 0.5241 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.3631, allocations: 1.522 MB / 0.5256 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007367/0.3704, allocations: 4.436 MB / 0.5299 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.3728, allocations: 1.192 MB / 0.5311 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.3742, allocations: 0.7797 MB / 0.5318 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-05/0.3743, allocations: 13.42 kB / 0.5318 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.3743, allocations: 39.5 kB / 0.5319 GB, free: 7.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.377e-06/0.3743, allocations: 0 / 0.5319 GB, free: 7.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.007171/0.3815, allocations: 3.872 MB / 0.5357 GB, free: 5.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.3816, allocations: 90.89 kB / 0.5357 GB, free: 5.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.3821, allocations: 403.9 kB / 0.5361 GB, free: 4.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.3821, allocations: 41.2 kB / 0.5362 GB, free: 4.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.3824, allocations: 347.9 kB / 0.5365 GB, free: 4.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/0.3827, allocations: 370.5 kB / 0.5369 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.383, allocations: 161.8 kB / 0.537 GB, free: 4.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3832, allocations: 377.1 kB / 0.5374 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.3843, allocations: 0.5965 MB / 0.538 GB, free: 3.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.3855, allocations: 0.7423 MB / 0.5387 GB, free: 3.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/0.3878, allocations: 1.381 MB / 0.54 GB, free: 2.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3878, allocations: 1.5 kB / 0.54 GB, free: 2.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002891/0.3907, allocations: 1.607 MB / 0.5416 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3907, allocations: 8 kB / 0.5416 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.3907, allocations: 4 kB / 0.5416 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.3909, allocations: 40.83 kB / 0.5416 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/0.3935, allocations: 0.4955 MB / 0.5421 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007244/0.4008, allocations: 6.69 MB / 0.5487 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008697/0.4017, allocations: 79.89 kB / 0.5487 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/0.4018, allocations: 43.95 kB / 0.5488 GB, free: 9.273 MB / 414.1 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.0006368/0.4024, allocations: 313.5 kB / 0.5491 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.4026, allocations: 71.52 kB / 0.5491 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.4056, allocations: 1.596 MB / 0.5507 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-05/0.4057, allocations: 23.98 kB / 0.5507 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4057, allocations: 4 kB / 0.5507 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4057, allocations: 7.984 kB / 0.5507 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/0.4107, allocations: 2.873 MB / 0.5535 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4107, allocations: 4.031 kB / 0.5536 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/0.4136, allocations: 0.5268 MB / 0.5541 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.4137, allocations: 44.83 kB / 0.5541 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/0.4138, allocations: 23.98 kB / 0.5541 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.4151, allocations: 1.634 MB / 0.5557 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4151, allocations: 0 / 0.5557 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/0.4194, allocations: 2.551 MB / 0.5582 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.4196, allocations: 132.6 kB / 0.5583 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4198, allocations: 23.98 kB / 0.5584 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.4204, allocations: 75.89 kB / 0.5584 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.4206, allocations: 76.48 kB / 0.5585 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.4207, allocations: 28 kB / 0.5585 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003355/0.421, allocations: 275.1 kB / 0.5588 GB, free: 14.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.421, allocations: 0 / 0.5588 GB, free: 14.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000982/0.422, allocations: 239.9 kB / 0.559 GB, free: 14.42 MB / 430.1 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.004638/0.4267, allocations: 3.153 MB / 0.5621 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004406/0.4311, allocations: 1.834 MB / 0.5639 GB, free: 9.344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4311, allocations: 8.062 kB / 0.5639 GB, free: 9.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003043/0.4342, allocations: 1.19 MB / 0.5651 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009214/0.4351, allocations: 151 kB / 0.5652 GB, free: 7.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.4499, allocations: 9.15 MB / 0.5741 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008138/0.4507, allocations: 1.076 MB / 0.5752 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007874/0.4515, allocations: 269.6 kB / 0.5755 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005137/0.4521, allocations: 291.3 kB / 0.5757 GB, free: 12.91 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4521, allocations: 4 kB / 0.5757 GB, free: 12.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.5041, allocations: 17.94 MB / 0.5933 GB, free: 11.15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.54, allocations: 30.48 kB / 0.5933 GB, free: 11.12 MB / 462.1 MB (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 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)