Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_cpp_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.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 183.3 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 94.8 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2561/0.2561, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004499, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1115, allocations: 56.33 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/0.6394, allocations: 109.8 MB / 0.5751 GB, free: 5.906 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/0.6398, allocations: 97.88 kB / 0.5752 GB, free: 5.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1123/0.7521, allocations: 24.42 MB / 0.599 GB, free: 0.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.7522, allocations: 224 / 0.599 GB, free: 0.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.438e-05/0.7523, allocations: 19.94 kB / 0.5991 GB, free: 0.7734 MB / 394.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.005662/0.758, allocations: 1.268 MB / 0.6003 GB, free: 15.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.758, allocations: 12.03 kB / 0.6003 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007371/0.7588, allocations: 146.1 kB / 0.6004 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.7603, allocations: 138.7 kB / 0.6006 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005948/0.7663, allocations: 1.277 MB / 0.6018 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/0.7668, allocations: 169.1 kB / 0.602 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004293/0.7672, allocations: 86.03 kB / 0.6021 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004501/0.7717, allocations: 1.411 MB / 0.6034 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.862e-05/0.7718, allocations: 0 / 0.6034 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.772, allocations: 33.48 kB / 0.6035 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000285/0.7723, allocations: 85.2 kB / 0.6036 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005568/0.7779, allocations: 1.526 MB / 0.605 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.7912, allocations: 4.431 MB / 0.6094 GB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/0.7958, allocations: 1.331 MB / 0.6107 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.796, allocations: 16.58 kB / 0.6107 GB, free: 7.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.7961, allocations: 42.77 kB / 0.6107 GB, free: 7.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 4.578e-06/0.7961, allocations: 0 / 0.6107 GB, free: 7.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.01363/0.8097, allocations: 4.258 MB / 0.6149 GB, free: 3.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.8099, allocations: 89.8 kB / 0.615 GB, free: 3.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/0.8106, allocations: 348.1 kB / 0.6153 GB, free: 3.215 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002928/0.8109, allocations: 38.58 kB / 0.6153 GB, free: 3.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.8112, allocations: 388.6 kB / 0.6157 GB, free: 2.867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005553/0.8118, allocations: 356.3 kB / 0.6161 GB, free: 2.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.8119, allocations: 15.44 kB / 0.6161 GB, free: 2.555 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.8121, allocations: 349.9 kB / 0.6164 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.8141, allocations: 0.6171 MB / 0.617 GB, free: 1.785 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/0.8165, allocations: 0.759 MB / 0.6177 GB, free: 1.176 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.8189, allocations: 0.6951 MB / 0.6184 GB, free: 0.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.819, allocations: 0 / 0.6184 GB, free: 0.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005379/0.8244, allocations: 1.591 MB / 0.62 GB, free: 15.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.8244, allocations: 4 kB / 0.62 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.8245, allocations: 4 kB / 0.62 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.8247, allocations: 29.06 kB / 0.62 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00554/0.8302, allocations: 0.6282 MB / 0.6206 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.8417, allocations: 6.384 MB / 0.6269 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.8432, allocations: 96.14 kB / 0.627 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.8434, allocations: 35.92 kB / 0.627 GB, free: 7.656 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 96 * 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: 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009235/0.8444, allocations: 326 kB / 0.6273 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.8447, allocations: 63.2 kB / 0.6274 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005454/0.8501, allocations: 1.604 MB / 0.6289 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-05/0.8503, allocations: 27.98 kB / 0.629 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.8503, allocations: 0 / 0.629 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/0.8503, allocations: 11.92 kB / 0.629 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009933/0.8603, allocations: 2.927 MB / 0.6318 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.8603, allocations: 3.984 kB / 0.6318 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006379/0.8667, allocations: 0.6792 MB / 0.6325 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/0.8669, allocations: 32.84 kB / 0.6325 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.8672, allocations: 23.95 kB / 0.6325 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.8687, allocations: 1.381 MB / 0.6339 GB, free: 316 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/0.8687, allocations: 16.11 kB / 0.6339 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008295/0.877, allocations: 2.68 MB / 0.6365 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.8774, allocations: 128.4 kB / 0.6366 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/0.8778, allocations: 28.05 kB / 0.6367 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.879, allocations: 91.89 kB / 0.6368 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/0.8794, allocations: 72.5 kB / 0.6368 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.8795, allocations: 24 kB / 0.6369 GB, free: 13.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005785/0.8801, allocations: 275.1 kB / 0.6371 GB, free: 12.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8801, allocations: 4 kB / 0.6371 GB, free: 12.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001597/0.8817, allocations: 263.9 kB / 0.6374 GB, free: 12.61 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009113/0.8909, allocations: 3.849 MB / 0.6411 GB, free: 8.656 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008565/0.8995, allocations: 1.935 MB / 0.643 GB, free: 6.707 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.8996, allocations: 0 / 0.643 GB, free: 6.707 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006407/0.906, allocations: 1.327 MB / 0.6443 GB, free: 5.363 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.9075, allocations: 137.7 kB / 0.6444 GB, free: 5.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/0.9298, allocations: 9.166 MB / 0.6534 GB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.9309, allocations: 1.096 MB / 0.6545 GB, free: 10.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.932, allocations: 295.3 kB / 0.6548 GB, free: 10.49 MB / 458.7 MB Notification: Performance of SimCode: time 1.423e-06/0.9321, allocations: 0 / 0.6548 GB, free: 10.49 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.366/4.298, allocations: 26.99 MB / 0.6811 GB, free: 15.47 MB / 490.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-05 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)