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.001086/0.001086, allocations: 89.02 kB / 16.32 MB, free: 6.449 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.001045/0.001045, allocations: 180.5 kB / 17.21 MB, free: 6.32 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.753/1.753, allocations: 205.4 MB / 223.4 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3632/0.3632, allocations: 38.06 MB / 309.7 MB, free: 8.953 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.000563/0.0005634, allocations: 20 kB / 376.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1376, allocations: 56.33 MB / 433 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008724/0.1463, allocations: 6.703 MB / 439.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00492/0.1513, allocations: 2.277 MB / 441.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009922/0.1523, allocations: 35.75 kB / 442 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008525/0.1532, allocations: 166.9 kB / 442.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.1553, allocations: 0.5522 MB / 442.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.1566, allocations: 323.5 kB / 443 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.159, allocations: 1.465 MB / 444.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.1609, allocations: 0.8362 MB / 445.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.1621, allocations: 446.2 kB / 445.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.1638, allocations: 0.7051 MB / 446.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003719/0.1642, allocations: 52 kB / 446.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.1658, allocations: 0.546 MB / 447 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007954/0.1667, allocations: 419 kB / 447.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000594/0.1673, allocations: 193.2 kB / 447.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.1691, allocations: 1.15 MB / 448.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1692, allocations: 0 / 448.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1692, allocations: 3.938 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.067e-05/0.1692, allocations: 0 / 448.8 MB, free: 6.672 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.003848/0.1731, allocations: 1.231 MB / 450 MB, free: 5.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.1732, allocations: 8.031 kB / 450 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005107/0.1737, allocations: 143.6 kB / 450.2 MB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.1749, allocations: 138.8 kB / 450.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.1764, allocations: 0.6443 MB / 450.9 MB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.1767, allocations: 187 kB / 451.1 MB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/0.177, allocations: 83.91 kB / 451.2 MB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.1797, allocations: 1.434 MB / 452.6 MB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.1798, allocations: 0 / 452.6 MB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/0.1799, allocations: 35.94 kB / 452.7 MB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002253/0.1801, allocations: 81.94 kB / 452.8 MB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.183, allocations: 1.565 MB / 454.3 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2719/0.4549, allocations: 4.451 MB / 458.8 MB, free: 49.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.4569, allocations: 1.256 MB / 460 MB, free: 49.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.4581, allocations: 0.8028 MB / 460.8 MB, free: 49.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.388e-05/0.4582, allocations: 18.02 kB / 460.9 MB, free: 49.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.4583, allocations: 42.91 kB / 460.9 MB, free: 49.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.356e-06/0.4583, allocations: 0 / 460.9 MB, free: 49.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.006468/0.4647, allocations: 3.969 MB / 464.9 MB, free: 48.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.4648, allocations: 84.73 kB / 464.9 MB, free: 48.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.4652, allocations: 402 kB / 465.3 MB, free: 48.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.4653, allocations: 40.89 kB / 465.4 MB, free: 48.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.4654, allocations: 348.9 kB / 465.7 MB, free: 47.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.4656, allocations: 346.8 kB / 466.1 MB, free: 47.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.4657, allocations: 18.22 kB / 466.1 MB, free: 47.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.4658, allocations: 379 kB / 466.4 MB, free: 47.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008901/0.4667, allocations: 0.6149 MB / 467.1 MB, free: 47.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000956/0.4677, allocations: 0.7614 MB / 467.8 MB, free: 46.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.4687, allocations: 0.6915 MB / 468.5 MB, free: 46.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4687, allocations: 7.422 kB / 468.5 MB, free: 46.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002323/0.471, allocations: 1.636 MB / 470.2 MB, free: 45.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4711, allocations: 11.73 kB / 470.2 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4711, allocations: 3.219 kB / 470.2 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.4713, allocations: 34.09 kB / 470.2 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.4735, allocations: 0.6332 MB / 470.8 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004846/0.4784, allocations: 6.39 MB / 477.2 MB, free: 40.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007462/0.4792, allocations: 100.3 kB / 477.3 MB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/0.4793, allocations: 30.94 kB / 477.4 MB, free: 40.04 MB / 382.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000475/0.4797, allocations: 321.9 kB / 477.7 MB, free: 39.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.4799, allocations: 65.83 kB / 477.7 MB, free: 39.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.4824, allocations: 1.637 MB / 479.4 MB, free: 39.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/0.4825, allocations: 33.03 kB / 479.4 MB, free: 39.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4825, allocations: 0 / 479.4 MB, free: 39.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4825, allocations: 6.562 kB / 479.4 MB, free: 39.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/0.4864, allocations: 2.919 MB / 482.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4865, allocations: 3.219 kB / 482.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/0.489, allocations: 0.6805 MB / 483 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.927e-05/0.4891, allocations: 37.11 kB / 483.1 MB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.4892, allocations: 28.39 kB / 483.1 MB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007614/0.49, allocations: 1.474 MB / 484.6 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.49, allocations: 6.281 kB / 484.6 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.4935, allocations: 2.594 MB / 487.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.4937, allocations: 141.8 kB / 487.3 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4938, allocations: 24.53 kB / 487.3 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/0.4943, allocations: 84.38 kB / 487.4 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.4945, allocations: 76.7 kB / 487.5 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.4945, allocations: 29.48 kB / 487.5 MB, free: 35.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002906/0.4948, allocations: 273.3 kB / 487.8 MB, free: 34.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4949, allocations: 0 / 487.8 MB, free: 34.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009149/0.4958, allocations: 236.4 kB / 488 MB, free: 34.87 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003993/0.4998, allocations: 3.202 MB / 491.2 MB, free: 33.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004418/0.5042, allocations: 1.995 MB / 493.2 MB, free: 32.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.5042, allocations: 4.062 kB / 493.2 MB, free: 32.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/0.5071, allocations: 1.34 MB / 494.5 MB, free: 32.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.5084, allocations: 157.3 kB / 494.7 MB, free: 32.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.5203, allocations: 6.869 MB / 0.4898 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.5211, allocations: 1.08 MB / 0.4909 GB, free: 28.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008966/0.522, allocations: 258.2 kB / 0.4911 GB, free: 28.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.5225, allocations: 297.8 kB / 0.4914 GB, free: 27.92 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5225, allocations: 0 / 0.4914 GB, free: 27.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/0.5606, allocations: 16.77 MB / 0.5078 GB, free: 20.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.5608, allocations: 207.1 kB / 0.508 GB, free: 20.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.789, allocations: 0 / 0.508 GB, free: 20.33 MB / 382.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/linux/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) Environment - environmentSimulation: