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.001267/0.001267, allocations: 108.1 kB / 17.74 MB, free: 5.359 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.001174/0.001174, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.353/1.353, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1769/0.1769, allocations: 37.98 MB / 309.9 MB, free: 5.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.001445/0.001445, allocations: 67.89 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09386, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007061/0.101, allocations: 6.251 MB / 494 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1033, allocations: 1.466 MB / 495.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.1035, allocations: 23.81 kB / 495.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.104, allocations: 142.9 kB / 495.7 MB, free: 436 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007241/0.1048, allocations: 414 kB / 496.1 MB, free: 20 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.1052, allocations: 195.6 kB / 496.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009895/0.1062, allocations: 1.086 MB / 497.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.1067, allocations: 352.6 kB / 497.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/0.1073, allocations: 478.2 kB / 498.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.108, allocations: 0.5179 MB / 498.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1081, allocations: 68 kB / 498.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1083, allocations: 64 kB / 498.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.1086, allocations: 315.1 kB / 499.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.109, allocations: 362.4 kB / 499.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008081/0.1098, allocations: 0.845 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1098, allocations: 0 / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1099, allocations: 3.938 kB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1099, allocations: 0 / 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.001847/0.1117, allocations: 1.004 MB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1118, allocations: 15.89 kB / 0.4896 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.1119, allocations: 72.09 kB / 0.4897 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.1131, allocations: 0.577 MB / 0.4902 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.1133, allocations: 120.8 kB / 0.4903 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.1134, allocations: 48 kB / 0.4904 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.1147, allocations: 0.7811 MB / 0.4911 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1147, allocations: 0 / 0.4911 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.1148, allocations: 20 kB / 0.4912 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.1149, allocations: 40.97 kB / 0.4912 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.1163, allocations: 0.7181 MB / 0.4919 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.1201, allocations: 2.604 MB / 0.4944 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.1216, allocations: 0.7971 MB / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.1223, allocations: 395.4 kB / 0.4956 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.1223, allocations: 8.438 kB / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1224, allocations: 42.94 kB / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 3.647e-06/0.1224, allocations: 0 / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.004054/0.1264, allocations: 2.147 MB / 0.4977 GB, free: 1.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1265, allocations: 81.55 kB / 0.4978 GB, free: 1.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.1269, allocations: 393.9 kB / 0.4982 GB, free: 1.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.1269, allocations: 37.7 kB / 0.4982 GB, free: 1.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.1271, allocations: 296.4 kB / 0.4985 GB, free: 1.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.1273, allocations: 169.5 kB / 0.4987 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.1275, allocations: 102.3 kB / 0.4988 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1276, allocations: 362.8 kB / 0.4991 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.1281, allocations: 268.9 kB / 0.4994 GB, free: 264 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/0.1287, allocations: 381.1 kB / 0.4997 GB, free: 15.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.1298, allocations: 0.6498 MB / 0.5004 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1298, allocations: 0 / 0.5004 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001934/0.1318, allocations: 0.8797 MB / 0.5012 GB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1318, allocations: 4 kB / 0.5012 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.1318, allocations: 4 kB / 0.5012 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.1321, allocations: 73.67 kB / 0.5013 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.1335, allocations: 307.7 kB / 0.5016 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005718/0.1392, allocations: 6.528 MB / 0.508 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.1396, allocations: 44.05 kB / 0.508 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.1397, allocations: 24 kB / 0.508 GB, free: 6.711 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.0003034/0.14, allocations: 241.6 kB / 0.5083 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.1401, allocations: 51.42 kB / 0.5083 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.1415, allocations: 0.8319 MB / 0.5091 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1416, allocations: 0 / 0.5091 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1416, allocations: 0 / 0.5091 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1417, allocations: 124.5 kB / 0.5093 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.1418, allocations: 8 kB / 0.5093 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.1421, allocations: 43.95 kB / 0.5093 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.1422, allocations: 40.38 kB / 0.5093 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002878/0.1451, allocations: 1.197 MB / 0.5105 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001774/0.1469, allocations: 1.274 MB / 0.5118 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005384/0.1474, allocations: 343.2 kB / 0.5121 GB, free: 2.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002753/0.1477, allocations: 279.1 kB / 0.5124 GB, free: 2.195 MB / 398.1 MB Notification: Performance of Backend: time 1.673e-06/0.1477, allocations: 0 / 0.5124 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002411/0.1501, allocations: 0.901 MB / 0.5132 GB, free: 1.262 MB / 398.1 MB Notification: Performance of SimCode: time 0.002153/0.1523, allocations: 1.779 MB / 0.515 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Templates: time 0.0148/0.1671, allocations: 8.567 MB / 0.5233 GB, free: 6.852 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)