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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001053/0.001053, allocations: 179.4 kB / 8.351 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.696/1.696, allocations: 194.3 MB / 203.1 MB, free: 12.95 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001695/0.001694, allocations: 116.8 kB / 248.1 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1853/0.1853, allocations: 37.92 MB / 330.9 MB, free: 2.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.023e-05, allocations: 0 / 390.5 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3238, allocations: 53.22 MB / 443.7 MB, free: 17.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3854/0.7092, allocations: 104 MB / 0.5349 GB, free: 91.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.7096, allocations: 91.81 kB / 0.535 GB, free: 91.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06177/0.7714, allocations: 24.19 MB / 0.5586 GB, free: 70.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.7714, allocations: 4 kB / 0.5586 GB, free: 70.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.421e-05/0.7715, allocations: 20 kB / 0.5586 GB, free: 70.46 MB / 378.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.002492/0.774, allocations: 1.201 MB / 0.5598 GB, free: 69.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.774, allocations: 12.03 kB / 0.5598 GB, free: 69.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006483/0.7747, allocations: 143 kB / 0.5599 GB, free: 69.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.7776, allocations: 1.246 MB / 0.5611 GB, free: 67.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.7778, allocations: 151.1 kB / 0.5613 GB, free: 67.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.7779, allocations: 59.89 kB / 0.5613 GB, free: 67.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001584/0.7795, allocations: 1.164 MB / 0.5625 GB, free: 66.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.781, allocations: 1.217 MB / 0.5637 GB, free: 65.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.781, allocations: 0 / 0.5637 GB, free: 65.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.7811, allocations: 4 kB / 0.5637 GB, free: 65.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.7813, allocations: 73.95 kB / 0.5637 GB, free: 65.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0061/0.7874, allocations: 4.34 MB / 0.568 GB, free: 60.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.7888, allocations: 1.161 MB / 0.5691 GB, free: 59.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007575/0.7896, allocations: 0.6923 MB / 0.5698 GB, free: 58.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/0.7897, allocations: 12.77 kB / 0.5698 GB, free: 58.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.7897, allocations: 43.34 kB / 0.5698 GB, free: 58.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 3.326e-06/0.7897, allocations: 0 / 0.5698 GB, free: 58.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.0049/0.7946, allocations: 3.174 MB / 0.5729 GB, free: 55.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.7947, allocations: 85.89 kB / 0.573 GB, free: 55.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.795, allocations: 286.2 kB / 0.5733 GB, free: 55.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.7951, allocations: 29.73 kB / 0.5733 GB, free: 54.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.7952, allocations: 348.2 kB / 0.5737 GB, free: 54.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.7955, allocations: 342.8 kB / 0.574 GB, free: 54.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.7955, allocations: 0 / 0.574 GB, free: 54.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7957, allocations: 374.8 kB / 0.5743 GB, free: 53.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.7963, allocations: 0.5336 MB / 0.5749 GB, free: 53.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/0.7969, allocations: 0.6726 MB / 0.5755 GB, free: 52.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.7981, allocations: 0.7474 MB / 0.5763 GB, free: 51.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7981, allocations: 4 kB / 0.5763 GB, free: 51.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002029/0.8001, allocations: 1.461 MB / 0.5777 GB, free: 50.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.8002, allocations: 4 kB / 0.5777 GB, free: 50.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.8002, allocations: 7.984 kB / 0.5777 GB, free: 50.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.8002, allocations: 12.45 kB / 0.5777 GB, free: 50.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/0.8028, allocations: 0.6282 MB / 0.5783 GB, free: 49.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/0.8059, allocations: 4.38 MB / 0.5826 GB, free: 45.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.8067, allocations: 91.86 kB / 0.5827 GB, free: 44.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/0.8068, allocations: 31.98 kB / 0.5827 GB, free: 44.95 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001876/0.807, allocations: 120.6 kB / 0.5828 GB, free: 44.82 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002025/0.809, allocations: 1.344 MB / 0.5841 GB, free: 43.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.8091, allocations: 59.25 kB / 0.5842 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.8113, allocations: 1.461 MB / 0.5856 GB, free: 41.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.818e-05/0.8114, allocations: 39.97 kB / 0.5857 GB, free: 41.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.8114, allocations: 3.984 kB / 0.5857 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.8114, allocations: 3.984 kB / 0.5857 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/0.8153, allocations: 2.71 MB / 0.5883 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.8153, allocations: 0 / 0.5883 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002831/0.8181, allocations: 0.6909 MB / 0.589 GB, free: 38.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.8182, allocations: 8 kB / 0.589 GB, free: 38.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/0.8182, allocations: 7.984 kB / 0.589 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.8183, allocations: 7.953 kB / 0.589 GB, free: 38.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.8183, allocations: 4 kB / 0.589 GB, free: 38.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.8211, allocations: 2.48 MB / 0.5914 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.8213, allocations: 140.2 kB / 0.5916 GB, free: 35.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.8214, allocations: 4 kB / 0.5916 GB, free: 35.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.822, allocations: 79.89 kB / 0.5917 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.8222, allocations: 76.61 kB / 0.5917 GB, free: 35.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/0.8223, allocations: 23.98 kB / 0.5918 GB, free: 35.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.8225, allocations: 216.6 kB / 0.592 GB, free: 35.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8225, allocations: 0 / 0.592 GB, free: 35.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008275/0.8233, allocations: 223.9 kB / 0.5922 GB, free: 35.06 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003333/0.8267, allocations: 3.642 MB / 0.5957 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003019/0.8297, allocations: 1.661 MB / 0.5973 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.8297, allocations: 0 / 0.5973 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002366/0.8321, allocations: 1.148 MB / 0.5985 GB, free: 28.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/0.8329, allocations: 103.3 kB / 0.5986 GB, free: 28.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.8373, allocations: 2.419 MB / 0.6009 GB, free: 25.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.8378, allocations: 1.087 MB / 0.602 GB, free: 24.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007047/0.8385, allocations: 261.1 kB / 0.6022 GB, free: 24.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/0.8389, allocations: 299.3 kB / 0.6025 GB, free: 24.27 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.8389, allocations: 0 / 0.6025 GB, free: 24.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.8749, allocations: 15.04 MB / 0.6172 GB, free: 9.219 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.8751, allocations: 132.2 kB / 0.6173 GB, free: 9.027 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.284, allocations: 0 / 0.6173 GB, free: 9.027 MB / 378.7 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)