Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 116.5 kB / 16.63 MB, free: 6.945 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.00131/0.001311, allocations: 197.8 kB / 17.55 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1774/0.1774, allocations: 38.02 MB / 329.4 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 57.78 kB / 398.3 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 58.07 MB / 456.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.01091/0.1278, allocations: 7.514 MB / 463.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004325/0.1322, allocations: 2.352 MB / 466.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005817/0.1328, allocations: 43.69 kB / 466.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.1342, allocations: 489.3 kB / 466.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.1355, allocations: 0.5176 MB / 467.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.1363, allocations: 323.5 kB / 467.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.1377, allocations: 1.294 MB / 468.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.1387, allocations: 0.7519 MB / 469.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009321/0.1397, allocations: 0.5488 MB / 470.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.1409, allocations: 0.7674 MB / 470.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.141, allocations: 104 kB / 471 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009755/0.142, allocations: 0.6435 MB / 471.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.1424, allocations: 490.9 kB / 472.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005053/0.1429, allocations: 0.5289 MB / 472.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.1443, allocations: 1.523 MB / 474.2 MB, free: 6.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1443, allocations: 4 kB / 474.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1443, allocations: 0 / 474.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.1443, allocations: 0 / 474.2 MB, free: 6.441 MB / 350.1 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.002797/0.1471, allocations: 1.371 MB / 475.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1472, allocations: 11.89 kB / 475.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007326/0.1479, allocations: 139.7 kB / 475.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.1491, allocations: 0.6648 MB / 476.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.1493, allocations: 171.6 kB / 476.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.1495, allocations: 83.92 kB / 476.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.1517, allocations: 1.414 MB / 478.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.1518, allocations: 3.938 kB / 478.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.285e-05/0.1519, allocations: 32 kB / 478.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/0.1521, allocations: 77.95 kB / 478.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.1547, allocations: 1.518 MB / 479.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006528/0.1613, allocations: 4.447 MB / 484.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.1635, allocations: 1.194 MB / 485.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.1647, allocations: 0.7734 MB / 486.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.249e-05/0.1648, allocations: 12.64 kB / 486.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.1648, allocations: 43.2 kB / 486.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.056e-06/0.1648, allocations: 0 / 486.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.006671/0.1715, allocations: 3.846 MB / 490 MB, free: 6.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.1716, allocations: 94.05 kB / 490.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.172, allocations: 405.9 kB / 490.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.1721, allocations: 37.7 kB / 490.5 MB, free: 5.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.1723, allocations: 344.3 kB / 490.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.1726, allocations: 350.8 kB / 491.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.1729, allocations: 166.5 kB / 491.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.173, allocations: 378.8 kB / 491.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009967/0.174, allocations: 0.5953 MB / 492.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.1751, allocations: 0.7386 MB / 493.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.1773, allocations: 1.395 MB / 494.5 MB, free: 1.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1773, allocations: 4 kB / 494.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002713/0.18, allocations: 1.588 MB / 496.1 MB, free: 12 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.1801, allocations: 19.92 kB / 496.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1801, allocations: 4 kB / 496.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.1802, allocations: 32.78 kB / 496.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.1826, allocations: 0.4995 MB / 496.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.1889, allocations: 6.69 MB / 0.4915 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/0.1898, allocations: 87.78 kB / 0.4916 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.1899, allocations: 32 kB / 0.4916 GB, free: 8.09 MB / 382.1 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): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005527/0.1905, allocations: 322.3 kB / 0.4919 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.1907, allocations: 63.25 kB / 0.492 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/0.1936, allocations: 1.596 MB / 0.4935 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.1937, allocations: 24 kB / 0.4936 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.1937, allocations: 8 kB / 0.4936 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.1937, allocations: 3.984 kB / 0.4936 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/0.1987, allocations: 2.88 MB / 0.4964 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.1987, allocations: 4 kB / 0.4964 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002741/0.2014, allocations: 0.5229 MB / 0.4969 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/0.2016, allocations: 40.84 kB / 0.4969 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.671e-05/0.2017, allocations: 23.98 kB / 0.497 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.203, allocations: 1.63 MB / 0.4986 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.203, allocations: 7.969 kB / 0.4986 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004032/0.207, allocations: 2.538 MB / 0.501 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.2072, allocations: 132.4 kB / 0.5012 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.2074, allocations: 23.98 kB / 0.5012 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/0.208, allocations: 75.97 kB / 0.5013 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.2082, allocations: 76.48 kB / 0.5013 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/0.2083, allocations: 24 kB / 0.5014 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003347/0.2086, allocations: 283.1 kB / 0.5016 GB, free: 13.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2086, allocations: 0 / 0.5016 GB, free: 13.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009353/0.2096, allocations: 236 kB / 0.5019 GB, free: 13.24 MB / 398.1 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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003273/0.2099, allocations: 167 kB / 0.502 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005095/0.215, allocations: 2.333 MB / 0.5043 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.215, allocations: 0 / 0.5043 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00285/0.2179, allocations: 1.202 MB / 0.5055 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.2188, allocations: 152.1 kB / 0.5056 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005736/0.2246, allocations: 2.98 MB / 0.5085 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.2254, allocations: 1.076 MB / 0.5096 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008972/0.2263, allocations: 269.5 kB / 0.5098 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.2265, allocations: 59.42 kB / 0.5099 GB, free: 4.902 MB / 398.1 MB Notification: Performance of SimCode: time 1.313e-06/0.2265, allocations: 0 / 0.5099 GB, free: 4.902 MB / 398.1 MB Notification: Performance of Templates: time 0.2411/0.4677, allocations: 10.6 MB / 0.5202 GB, free: 70.09 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)