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/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: 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/Complex 3.2.2+maint.om/package.mo): time 0.001174/0.001174, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.193/1.193, allocations: 194.2 MB / 212.2 MB, free: 2.359 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.001642/0.001642, allocations: 123.7 kB / 256.6 MB, free: 4.312 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1674/0.1674, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.91 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0851/0.08627, allocations: 52.19 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006783/0.09311, allocations: 7.081 MB / 461.1 MB, free: 9.461 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.09543, allocations: 1.711 MB / 462.8 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.09578, allocations: 39.75 kB / 462.8 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.09617, allocations: 123.2 kB / 462.9 MB, free: 7.582 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005856/0.09681, allocations: 398.3 kB / 463.3 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.09714, allocations: 163.8 kB / 463.5 MB, free: 7.031 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009457/0.0981, allocations: 1.633 MB / 465.1 MB, free: 5.395 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.09839, allocations: 283 kB / 465.4 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.09876, allocations: 406.2 kB / 465.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005305/0.0993, allocations: 0.5374 MB / 466.3 MB, free: 4.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.09939, allocations: 40 kB / 466.4 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.0995, allocations: 40 kB / 466.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.0997, allocations: 287.2 kB / 466.7 MB, free: 3.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.09996, allocations: 342.3 kB / 467 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.1004, allocations: 0.8099 MB / 467.8 MB, free: 2.672 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1004, allocations: 0 / 467.8 MB, free: 2.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1004, allocations: 7.938 kB / 467.8 MB, free: 2.664 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1004, allocations: 0 / 467.8 MB, free: 2.664 MB / 314.7 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.001615/0.1021, allocations: 0.9997 MB / 468.8 MB, free: 1.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1021, allocations: 12.03 kB / 468.9 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.1022, allocations: 72.09 kB / 468.9 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007932/0.103, allocations: 0.5419 MB / 469.5 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.1032, allocations: 120.6 kB / 469.6 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/0.1032, allocations: 56 kB / 469.6 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009743/0.1042, allocations: 0.7733 MB / 470.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1042, allocations: 0 / 470.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.1043, allocations: 20 kB / 470.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.1044, allocations: 40.97 kB / 470.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.1057, allocations: 0.7181 MB / 471.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003436/0.1091, allocations: 2.62 MB / 473.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.1106, allocations: 0.801 MB / 474.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.1112, allocations: 407.3 kB / 475 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.1112, allocations: 8.438 kB / 475 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.1113, allocations: 38.94 kB / 475.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.405e-06/0.1113, allocations: 0 / 475.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=51): time 0.00386/0.1152, allocations: 2.147 MB / 477.2 MB, free: 8.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1152, allocations: 81.55 kB / 477.3 MB, free: 8.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.1156, allocations: 394 kB / 477.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.1156, allocations: 33.7 kB / 477.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1158, allocations: 288.5 kB / 478 MB, free: 8.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.116, allocations: 181.4 kB / 478.2 MB, free: 7.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.1161, allocations: 98.25 kB / 478.3 MB, free: 7.801 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1163, allocations: 362.7 kB / 478.6 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.1168, allocations: 272.9 kB / 478.9 MB, free: 7.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.1174, allocations: 381.1 kB / 479.3 MB, free: 6.758 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.1184, allocations: 0.6498 MB / 479.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1185, allocations: 0 / 479.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001498/0.12, allocations: 0.8797 MB / 480.8 MB, free: 5.156 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.12, allocations: 7.984 kB / 480.8 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.12, allocations: 4 kB / 480.8 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000277/0.1203, allocations: 73.67 kB / 480.9 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.1218, allocations: 307.7 kB / 481.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/0.1274, allocations: 6.026 MB / 487.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.1279, allocations: 44.11 kB / 487.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.1279, allocations: 16 kB / 487.2 MB, free: 14.14 MB / 346.7 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.0003192/0.1283, allocations: 249.6 kB / 487.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.1284, allocations: 43.44 kB / 487.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.1299, allocations: 0.8242 MB / 488.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1299, allocations: 11.94 kB / 488.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1299, allocations: 0 / 488.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1299, allocations: 3.984 kB / 488.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.1326, allocations: 1.677 MB / 490.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1326, allocations: 0 / 490.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.1342, allocations: 327.7 kB / 490.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.1345, allocations: 85.58 kB / 490.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.1346, allocations: 19.98 kB / 490.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.1367, allocations: 2.895 MB / 493.4 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1367, allocations: 4.062 kB / 493.4 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/0.1498, allocations: 9.449 MB / 0.491 GB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.15, allocations: 132.4 kB / 0.4912 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.1501, allocations: 12.16 kB / 0.4912 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.1504, allocations: 39.95 kB / 0.4912 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.1506, allocations: 47.92 kB / 0.4913 GB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.1506, allocations: 12 kB / 0.4913 GB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002918/0.1509, allocations: 279.1 kB / 0.4915 GB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1509, allocations: 4 kB / 0.4915 GB, free: 13.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008641/0.1518, allocations: 215.9 kB / 0.4917 GB, free: 12.87 MB / 362.7 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.0001583/0.1519, allocations: 115.1 kB / 0.4919 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002733/0.1547, allocations: 1.078 MB / 0.4929 GB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1547, allocations: 0 / 0.4929 GB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.1567, allocations: 0.8095 MB / 0.4937 GB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007986/0.1575, allocations: 129.4 kB / 0.4938 GB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.1613, allocations: 2.42 MB / 0.4962 GB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.1619, allocations: 0.9605 MB / 0.4971 GB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004662/0.1624, allocations: 140.7 kB / 0.4973 GB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.1625, allocations: 47.44 kB / 0.4973 GB, free: 7.012 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1626, allocations: 0 / 0.4973 GB, free: 7.012 MB / 362.7 MB Notification: Performance of Templates: time 0.1917/0.3542, allocations: 9.322 MB / 0.5064 GB, free: 65.18 MB / 362.7 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)