Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_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.001072/0.001072, allocations: 180.3 kB / 8.353 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.737/1.737, allocations: 194.4 MB / 203.1 MB, free: 12.96 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.001623/0.001623, allocations: 116.6 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.1644/0.1644, allocations: 37.92 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.033e-05, allocations: 4 kB / 390.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2572, allocations: 53.23 MB / 443.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3544/0.6116, allocations: 104.3 MB / 0.5352 GB, free: 91.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.6119, allocations: 90.89 kB / 0.5352 GB, free: 91.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05715/0.6691, allocations: 23.12 MB / 0.5578 GB, free: 71.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6692, allocations: 0 / 0.5578 GB, free: 71.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.997e-05/0.6692, allocations: 16 kB / 0.5578 GB, free: 71.36 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002225/0.6714, allocations: 1.178 MB / 0.559 GB, free: 70.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6715, allocations: 8.031 kB / 0.559 GB, free: 70.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.6722, allocations: 159 kB / 0.5591 GB, free: 69.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.675, allocations: 1.25 MB / 0.5604 GB, free: 68.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.6753, allocations: 147.1 kB / 0.5605 GB, free: 68.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.6754, allocations: 48 kB / 0.5606 GB, free: 68.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00138/0.6768, allocations: 1.039 MB / 0.5616 GB, free: 67.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.6782, allocations: 1.166 MB / 0.5627 GB, free: 66.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.6782, allocations: 7.938 kB / 0.5627 GB, free: 66.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.6783, allocations: 0 / 0.5627 GB, free: 66.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-05/0.6784, allocations: 57.94 kB / 0.5628 GB, free: 66.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005725/0.6842, allocations: 4.781 MB / 0.5674 GB, free: 61.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.6852, allocations: 0.9418 MB / 0.5684 GB, free: 60.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/0.6859, allocations: 0.5503 MB / 0.5689 GB, free: 59.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.798e-05/0.686, allocations: 16.55 kB / 0.5689 GB, free: 59.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.686, allocations: 39.12 kB / 0.5689 GB, free: 59.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.705e-06/0.686, allocations: 0 / 0.5689 GB, free: 59.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.003377/0.6894, allocations: 2.3 MB / 0.5712 GB, free: 57.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.6895, allocations: 89.61 kB / 0.5713 GB, free: 57.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.6898, allocations: 333.1 kB / 0.5716 GB, free: 56.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.6899, allocations: 29.64 kB / 0.5716 GB, free: 56.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.6901, allocations: 395.2 kB / 0.572 GB, free: 56.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.6903, allocations: 252.2 kB / 0.5722 GB, free: 56.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.6903, allocations: 0 / 0.5722 GB, free: 56.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6905, allocations: 374.7 kB / 0.5726 GB, free: 55.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.6909, allocations: 434 kB / 0.573 GB, free: 55.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.6915, allocations: 0.6048 MB / 0.5736 GB, free: 54.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.6921, allocations: 0.5078 MB / 0.5741 GB, free: 54.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6922, allocations: 0 / 0.5741 GB, free: 54.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00311/0.6953, allocations: 1.801 MB / 0.5759 GB, free: 52.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.6953, allocations: 8 kB / 0.5759 GB, free: 52.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002587/0.6979, allocations: 1.574 MB / 0.5774 GB, free: 50.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.699, allocations: 0.5247 MB / 0.5779 GB, free: 50.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.6996, allocations: 147.8 kB / 0.5781 GB, free: 50 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/0.7057, allocations: 5.919 MB / 0.5838 GB, free: 43.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008342/0.7066, allocations: 72.06 kB / 0.5839 GB, free: 43.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.7067, allocations: 35.94 kB / 0.5839 GB, free: 43.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002096/0.7069, allocations: 120.8 kB / 0.5841 GB, free: 43.62 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00138/0.7083, allocations: 1.035 MB / 0.5851 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.7084, allocations: 55.34 kB / 0.5851 GB, free: 42.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.7098, allocations: 1.124 MB / 0.5862 GB, free: 41.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.7099, allocations: 16.03 kB / 0.5862 GB, free: 41.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7099, allocations: 4 kB / 0.5862 GB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.7099, allocations: 3.984 kB / 0.5862 GB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.7127, allocations: 2.155 MB / 0.5883 GB, free: 39.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7127, allocations: 7.922 kB / 0.5883 GB, free: 39.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/0.7154, allocations: 0.6322 MB / 0.589 GB, free: 38.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.024e-05/0.7155, allocations: 28.78 kB / 0.589 GB, free: 38.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.7156, allocations: 8 kB / 0.589 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006777/0.7163, allocations: 1.337 MB / 0.5903 GB, free: 36.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.7163, allocations: 11.89 kB / 0.5903 GB, free: 36.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.7183, allocations: 1.841 MB / 0.5921 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.7184, allocations: 128.4 kB / 0.5922 GB, free: 34.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.7185, allocations: 11.98 kB / 0.5922 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.7191, allocations: 59.92 kB / 0.5923 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.7192, allocations: 72.34 kB / 0.5924 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.7193, allocations: 20 kB / 0.5924 GB, free: 34.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002625/0.7195, allocations: 251 kB / 0.5926 GB, free: 34.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7195, allocations: 0 / 0.5926 GB, free: 34.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000974/0.7205, allocations: 223.9 kB / 0.5928 GB, free: 34.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (66): * Single equations (assignments): 62 * Array equations: 2 * 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.002353/0.7229, allocations: 2.711 MB / 0.5955 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.7249, allocations: 1.373 MB / 0.5968 GB, free: 30.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.725, allocations: 3.938 kB / 0.5968 GB, free: 30.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.7272, allocations: 1.062 MB / 0.5979 GB, free: 29.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.7279, allocations: 95.12 kB / 0.598 GB, free: 28.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.7314, allocations: 2.086 MB / 0.6 GB, free: 26.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.7319, allocations: 1.095 MB / 0.6011 GB, free: 25.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005203/0.7324, allocations: 197.1 kB / 0.6013 GB, free: 25.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.7328, allocations: 279.3 kB / 0.6015 GB, free: 25.18 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.7328, allocations: 0 / 0.6015 GB, free: 25.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.7701, allocations: 17.08 MB / 0.6182 GB, free: 8.094 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/0.7703, allocations: 129 kB / 0.6183 GB, free: 7.906 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.345, allocations: 0 / 0.6183 GB, free: 7.906 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)