Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 90.27 kB / 16.32 MB, free: 6.449 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.001412/0.001412, allocations: 181.4 kB / 17.21 MB, free: 6.32 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.44/1.44, allocations: 223.3 MB / 241.2 MB, free: 284 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2094/0.2094, allocations: 38.09 MB / 330.4 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 8.688 kB / 400.2 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 59.17 MB / 459.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.006959/0.1301, allocations: 6.574 MB / 465.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.1334, allocations: 1.672 MB / 467.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005321/0.1339, allocations: 43.69 kB / 467.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.1345, allocations: 158.9 kB / 467.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.1355, allocations: 465.7 kB / 468.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006314/0.1361, allocations: 215.7 kB / 468.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1374, allocations: 1.316 MB / 469.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.1378, allocations: 243.6 kB / 470 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000515/0.1383, allocations: 390.3 kB / 470.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007053/0.139, allocations: 0.5179 MB / 470.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.1391, allocations: 32 kB / 470.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.1392, allocations: 32 kB / 471 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.1395, allocations: 275.2 kB / 471.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1396, allocations: 153.4 kB / 471.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.1402, allocations: 0.6662 MB / 472.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1403, allocations: 4 kB / 472.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1403, allocations: 3.938 kB / 472.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1403, allocations: 0 / 472.1 MB, free: 10.54 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001699/0.142, allocations: 0.9255 MB / 473 MB, free: 9.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.142, allocations: 8.031 kB / 473 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.1422, allocations: 98.52 kB / 473.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.1423, allocations: 71.16 kB / 473.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00088/0.1432, allocations: 0.5446 MB / 473.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.1434, allocations: 128.7 kB / 473.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.711e-05/0.1435, allocations: 52 kB / 473.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.1448, allocations: 0.8044 MB / 474.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1449, allocations: 0 / 474.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.1449, allocations: 28 kB / 474.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.145, allocations: 32.97 kB / 474.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.1464, allocations: 0.7181 MB / 475.5 MB, free: 6.973 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003891/0.1503, allocations: 2.751 MB / 478.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.152, allocations: 0.9219 MB / 479.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.1525, allocations: 341.6 kB / 479.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.1526, allocations: 4 kB / 479.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1526, allocations: 42.5 kB / 479.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.605e-06/0.1526, allocations: 0 / 479.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0037/0.1563, allocations: 2.023 MB / 481.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1564, allocations: 85.14 kB / 481.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.1568, allocations: 421.9 kB / 482 MB, free: 88 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1569, allocations: 37.7 kB / 482.1 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.1571, allocations: 312.2 kB / 482.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.1572, allocations: 142 kB / 482.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.1572, allocations: 8 kB / 482.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1574, allocations: 358.8 kB / 482.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.1579, allocations: 253 kB / 483.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.1584, allocations: 366.3 kB / 483.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.1589, allocations: 275.8 kB / 483.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.159, allocations: 0 / 483.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001379/0.1603, allocations: 0.823 MB / 484.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1604, allocations: 6.5 kB / 484.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1604, allocations: 4 kB / 484.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.1607, allocations: 77.89 kB / 484.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.1621, allocations: 379.5 kB / 485 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/0.1677, allocations: 6.151 MB / 491.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.1682, allocations: 47.94 kB / 491.2 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.1683, allocations: 16 kB / 491.2 MB, free: 6.246 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003595/0.1686, allocations: 245.7 kB / 491.5 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.1687, allocations: 47.44 kB / 491.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.1701, allocations: 0.7689 MB / 492.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.1701, allocations: 7.938 kB / 492.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1701, allocations: 0 / 492.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1701, allocations: 0 / 492.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.1725, allocations: 1.545 MB / 493.8 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.1726, allocations: 4 kB / 493.9 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.1741, allocations: 403.6 kB / 494.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.1743, allocations: 85.56 kB / 494.3 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.1744, allocations: 12 kB / 494.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.1765, allocations: 2.891 MB / 497.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1765, allocations: 0 / 497.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.1783, allocations: 1.164 MB / 498.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1785, allocations: 120.6 kB / 498.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.1785, allocations: 12 kB / 498.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.1788, allocations: 39.95 kB / 498.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.179, allocations: 35.89 kB / 498.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.179, allocations: 15.98 kB / 498.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003239/0.1793, allocations: 295.1 kB / 498.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1793, allocations: 0 / 498.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006529/0.18, allocations: 148 kB / 499 MB, free: 13.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002165/0.1822, allocations: 1.705 MB / 0.489 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.1847, allocations: 1.106 MB / 0.4901 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1847, allocations: 0 / 0.4901 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.1866, allocations: 0.8329 MB / 0.4909 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.1875, allocations: 133.8 kB / 0.491 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/0.1934, allocations: 4.008 MB / 0.495 GB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.194, allocations: 0.9484 MB / 0.4959 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003669/0.1944, allocations: 96.56 kB / 0.496 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.1947, allocations: 207.4 kB / 0.4962 GB, free: 4.672 MB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1947, allocations: 3.938 kB / 0.4962 GB, free: 4.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2574/0.4521, allocations: 12.05 MB / 0.5079 GB, free: 53.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.4524, allocations: 233.3 kB / 0.5082 GB, free: 53.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.469, allocations: 0 / 0.5082 GB, free: 53.5 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat does not exist to compare? outputFormat=mat