Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 109.8 kB / 17.74 MB, free: 5.316 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.001308/0.001308, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.234/1.234, allocations: 205.1 MB / 224.5 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.1615/0.1615, allocations: 37.98 MB / 309.9 MB, free: 5.961 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.001309/0.001309, allocations: 71.89 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07774/0.07906, allocations: 55.24 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006553/0.08565, allocations: 6.259 MB / 494 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.0877, allocations: 1.462 MB / 495.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.08792, allocations: 23.81 kB / 495.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.08834, allocations: 146.9 kB / 495.7 MB, free: 424 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006651/0.08903, allocations: 410 kB / 496.1 MB, free: 12 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.08942, allocations: 195.7 kB / 496.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009071/0.09033, allocations: 1.086 MB / 497.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.09074, allocations: 352.6 kB / 497.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.09128, allocations: 470.2 kB / 498.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.09191, allocations: 0.5218 MB / 498.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.764e-05/0.09202, allocations: 71.94 kB / 498.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.09215, allocations: 64 kB / 498.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.09241, allocations: 311.1 kB / 499.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.09275, allocations: 362.4 kB / 499.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.09343, allocations: 0.845 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09344, allocations: 0 / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.09345, allocations: 0 / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.09346, allocations: 3.938 kB / 0.4886 GB, free: 11.76 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001703/0.09517, allocations: 1.004 MB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.09521, allocations: 15.89 kB / 0.4896 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.09532, allocations: 76.08 kB / 0.4896 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/0.09618, allocations: 0.577 MB / 0.4902 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.09634, allocations: 124.8 kB / 0.4903 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/0.09643, allocations: 48 kB / 0.4904 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.09759, allocations: 0.7733 MB / 0.4911 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.09761, allocations: 0 / 0.4911 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/0.09768, allocations: 20 kB / 0.4911 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.844e-05/0.09778, allocations: 36.97 kB / 0.4912 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.09904, allocations: 0.7259 MB / 0.4919 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.1022, allocations: 2.596 MB / 0.4944 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.1036, allocations: 0.801 MB / 0.4952 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.1042, allocations: 399.4 kB / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.1043, allocations: 8.422 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1043, allocations: 42.94 kB / 0.4956 GB, free: 4.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.833e-06/0.1043, allocations: 3.938 kB / 0.4956 GB, free: 4.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.003561/0.1079, allocations: 2.139 MB / 0.4977 GB, free: 1.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1079, allocations: 85.55 kB / 0.4978 GB, free: 1.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.1083, allocations: 401.9 kB / 0.4982 GB, free: 1.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.1083, allocations: 33.7 kB / 0.4982 GB, free: 1.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.1085, allocations: 292.4 kB / 0.4985 GB, free: 1.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.1086, allocations: 173.5 kB / 0.4987 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.1088, allocations: 98.28 kB / 0.4988 GB, free: 0.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1089, allocations: 362.8 kB / 0.4991 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.1094, allocations: 272.9 kB / 0.4994 GB, free: 252 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/0.1099, allocations: 377.1 kB / 0.4997 GB, free: 15.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.111, allocations: 0.6498 MB / 0.5004 GB, free: 15.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.111, allocations: 0 / 0.5004 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001346/0.1123, allocations: 0.8797 MB / 0.5012 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1124, allocations: 4 kB / 0.5012 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1124, allocations: 4 kB / 0.5012 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.1126, allocations: 77.66 kB / 0.5013 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.114, allocations: 311.6 kB / 0.5016 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/0.1193, allocations: 6.528 MB / 0.508 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.1197, allocations: 40.14 kB / 0.508 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.1197, allocations: 31.97 kB / 0.5081 GB, free: 6.691 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.12, allocations: 237.6 kB / 0.5083 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.1201, allocations: 47.44 kB / 0.5083 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.1214, allocations: 0.8319 MB / 0.5091 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1215, allocations: 4 kB / 0.5091 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1215, allocations: 4 kB / 0.5091 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1215, allocations: 3.984 kB / 0.5091 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.1239, allocations: 1.674 MB / 0.5108 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1239, allocations: 7.938 kB / 0.5108 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.1255, allocations: 327.7 kB / 0.5111 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.1257, allocations: 89.55 kB / 0.5112 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.1258, allocations: 15.98 kB / 0.5112 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.1278, allocations: 3.161 MB / 0.5143 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1278, allocations: 4.031 kB / 0.5143 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.1297, allocations: 1.314 MB / 0.5156 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1298, allocations: 124.6 kB / 0.5157 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.1299, allocations: 15.94 kB / 0.5157 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.1302, allocations: 35.95 kB / 0.5157 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.1303, allocations: 51.88 kB / 0.5158 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.1304, allocations: 16 kB / 0.5158 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002645/0.1306, allocations: 279.1 kB / 0.5161 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1306, allocations: 0 / 0.5161 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000582/0.1312, allocations: 148 kB / 0.5162 GB, free: 13.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.1314, allocations: 115.1 kB / 0.5163 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.1338, allocations: 1.089 MB / 0.5174 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1338, allocations: 0 / 0.5174 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.1356, allocations: 0.7827 MB / 0.5182 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.1363, allocations: 149.3 kB / 0.5183 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.1391, allocations: 1.646 MB / 0.5199 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.1395, allocations: 0.9447 MB / 0.5208 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.1397, allocations: 43.42 kB / 0.5209 GB, free: 8.914 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1397, allocations: 4 kB / 0.5209 GB, free: 8.91 MB / 414.1 MB Notification: Performance of Templates: time 0.1782/0.3179, allocations: 16.82 MB / 0.5373 GB, free: 50.66 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)