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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001381/0.001381, allocations: 112.7 kB / 17.06 MB, free: 5.996 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.001415/0.001415, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1779/0.1779, allocations: 37.98 MB / 309.2 MB, free: 5.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 71.89 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1073, allocations: 55.24 MB / 486.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008267/0.1157, allocations: 6.676 MB / 493.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.1194, allocations: 2.158 MB / 495.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004842/0.1199, allocations: 27.88 kB / 495.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.1215, allocations: 0.5059 MB / 496 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.123, allocations: 0.5717 MB / 496.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.1239, allocations: 347.3 kB / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.1254, allocations: 1.298 MB / 498.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009868/0.1264, allocations: 0.7323 MB / 498.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009768/0.1274, allocations: 0.5488 MB / 499.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.1286, allocations: 0.744 MB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.1288, allocations: 108 kB / 0.4886 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.13, allocations: 0.6046 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005464/0.1305, allocations: 486.8 kB / 0.4896 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007533/0.1313, allocations: 0.5212 MB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.1333, allocations: 1.535 MB / 0.4917 GB, free: 7.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1333, allocations: 0 / 0.4917 GB, free: 7.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1333, allocations: 0 / 0.4917 GB, free: 7.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.382e-05/0.1333, allocations: 0 / 0.4917 GB, free: 7.914 MB / 382.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.003478/0.1368, allocations: 1.379 MB / 0.493 GB, free: 6.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1369, allocations: 11.89 kB / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/0.1371, allocations: 143.8 kB / 0.4931 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007443/0.1379, allocations: 139.7 kB / 0.4933 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.1395, allocations: 0.6921 MB / 0.494 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.1397, allocations: 179.4 kB / 0.4941 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.14, allocations: 80 kB / 0.4942 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.1423, allocations: 1.402 MB / 0.4956 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.1423, allocations: 4 kB / 0.4956 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/0.1424, allocations: 31.98 kB / 0.4956 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/0.1426, allocations: 93.88 kB / 0.4957 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00269/0.1453, allocations: 1.511 MB / 0.4972 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007301/0.1526, allocations: 4.423 MB / 0.5015 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.1551, allocations: 1.186 MB / 0.5026 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.1565, allocations: 0.7734 MB / 0.5034 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.253e-05/0.1566, allocations: 12.64 kB / 0.5034 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.1567, allocations: 47.2 kB / 0.5035 GB, free: 11.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 4.138e-06/0.1567, allocations: 0 / 0.5035 GB, free: 11.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.007183/0.1639, allocations: 3.854 MB / 0.5072 GB, free: 7.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.164, allocations: 90.14 kB / 0.5073 GB, free: 7.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.1645, allocations: 397.9 kB / 0.5077 GB, free: 7.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.1646, allocations: 45.69 kB / 0.5077 GB, free: 7.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.1649, allocations: 344.2 kB / 0.5081 GB, free: 6.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.1652, allocations: 346.8 kB / 0.5084 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/0.1655, allocations: 162.7 kB / 0.5085 GB, free: 6.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1657, allocations: 378.8 kB / 0.5089 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.1668, allocations: 0.5953 MB / 0.5095 GB, free: 5.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.168, allocations: 0.7386 MB / 0.5102 GB, free: 4.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.1703, allocations: 1.387 MB / 0.5116 GB, free: 2.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.1703, allocations: 7.984 kB / 0.5116 GB, free: 2.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002905/0.1733, allocations: 1.599 MB / 0.5131 GB, free: 1.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.1733, allocations: 11.98 kB / 0.5131 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.1733, allocations: 4 kB / 0.5132 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.1735, allocations: 32.84 kB / 0.5132 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/0.1761, allocations: 0.5033 MB / 0.5137 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006843/0.183, allocations: 6.686 MB / 0.5202 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009075/0.1839, allocations: 79.83 kB / 0.5203 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.1841, allocations: 36.09 kB / 0.5203 GB, free: 9.41 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.0006053/0.1847, allocations: 321.5 kB / 0.5206 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.185, allocations: 67.09 kB / 0.5207 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.1878, allocations: 1.592 MB / 0.5222 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.092e-05/0.1879, allocations: 24 kB / 0.5223 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1879, allocations: 8 kB / 0.5223 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.1879, allocations: 3.984 kB / 0.5223 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/0.1928, allocations: 2.873 MB / 0.5251 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.1928, allocations: 8 kB / 0.5251 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002899/0.1957, allocations: 0.5268 MB / 0.5256 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.1959, allocations: 44.91 kB / 0.5256 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.196, allocations: 20 kB / 0.5257 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.1973, allocations: 1.634 MB / 0.5273 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1973, allocations: 0 / 0.5273 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2265/0.4238, allocations: 2.545 MB / 0.5297 GB, free: 50.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.4241, allocations: 135.5 kB / 0.5299 GB, free: 50.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.4243, allocations: 22.05 kB / 0.5299 GB, free: 50.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.4251, allocations: 68.44 kB / 0.53 GB, free: 50.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.4254, allocations: 78.08 kB / 0.53 GB, free: 50.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.605e-05/0.4255, allocations: 23.94 kB / 0.5301 GB, free: 50.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003445/0.4259, allocations: 277.6 kB / 0.5303 GB, free: 50.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4259, allocations: 1.438 kB / 0.5303 GB, free: 50.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009807/0.4269, allocations: 240.3 kB / 0.5306 GB, free: 50.7 MB / 414.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.004577/0.4315, allocations: 3.15 MB / 0.5336 GB, free: 49.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005062/0.4365, allocations: 1.835 MB / 0.5354 GB, free: 49.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.4366, allocations: 1.344 kB / 0.5354 GB, free: 49.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003289/0.4399, allocations: 1.193 MB / 0.5366 GB, free: 48.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.4414, allocations: 162.6 kB / 0.5367 GB, free: 48.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/0.4595, allocations: 9.1 MB / 0.5456 GB, free: 44.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/0.4603, allocations: 1.075 MB / 0.5467 GB, free: 43.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008719/0.4612, allocations: 270.6 kB / 0.5469 GB, free: 43.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/0.4616, allocations: 291.4 kB / 0.5472 GB, free: 43.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4616, allocations: 0 / 0.5472 GB, free: 43.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05554/0.5172, allocations: 18.24 MB / 0.565 GB, free: 30.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.95, allocations: 13.7 kB / 0.565 GB, free: 30.82 MB / 414.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)