Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",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.0009562/0.0009565, allocations: 86 kB / 16.31 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.001184/0.001184, allocations: 181 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.374/1.374, allocations: 223.3 MB / 241.2 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.177/0.177, allocations: 38.1 MB / 330.4 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 12.59 kB / 400.2 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 59.17 MB / 459.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005173/0.1376, allocations: 3.955 MB / 463.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1394, allocations: 0.9315 MB / 464.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.1396, allocations: 19.88 kB / 464.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1398, allocations: 47.61 kB / 464.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.1404, allocations: 179 kB / 464.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1406, allocations: 91.83 kB / 464.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.1412, allocations: 434.5 kB / 465 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.1415, allocations: 73.14 kB / 465.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.1418, allocations: 151.2 kB / 465.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.1422, allocations: 171.4 kB / 465.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1423, allocations: 8 kB / 465.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.25e-05/0.1423, allocations: 12 kB / 465.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1424, allocations: 79.7 kB / 465.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1426, allocations: 77.58 kB / 465.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1428, allocations: 207.4 kB / 465.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.1429, allocations: 3.938 kB / 465.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1429, allocations: 0 / 465.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1429, allocations: 0 / 465.8 MB, free: 0.8672 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001191/0.1441, allocations: 0.5503 MB / 466.3 MB, free: 272 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.1442, allocations: 8.031 kB / 466.3 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.632e-05/0.1443, allocations: 54.55 kB / 466.4 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/0.1443, allocations: 31.62 kB / 466.4 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/0.1449, allocations: 329.7 kB / 466.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.145, allocations: 16.44 kB / 466.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.1451, allocations: 39.97 kB / 466.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.1456, allocations: 282 kB / 467 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1456, allocations: 4 kB / 467.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.1456, allocations: 8 kB / 467.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1456, allocations: 8 kB / 467.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.146, allocations: 183.8 kB / 467.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.1477, allocations: 1.28 MB / 468.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.148, allocations: 119.8 kB / 468.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.288e-05/0.1481, allocations: 42.62 kB / 468.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1481, allocations: 4 kB / 468.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.1482, allocations: 38.56 kB / 468.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1482, allocations: 0 / 468.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001063/0.1493, allocations: 0.5269 MB / 469.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1494, allocations: 110.8 kB / 469.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.1497, allocations: 239 kB / 469.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1497, allocations: 25.7 kB / 469.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.15, allocations: 199.5 kB / 469.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.15, allocations: 43.45 kB / 469.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.15, allocations: 4 kB / 469.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002444/0.1503, allocations: 334.8 kB / 470.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1504, allocations: 35.98 kB / 470.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.1506, allocations: 142 kB / 470.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1507, allocations: 56 kB / 470.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1507, allocations: 0 / 470.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00042/0.1511, allocations: 237.9 kB / 470.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1512, allocations: 4 kB / 470.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1512, allocations: 4 kB / 470.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.1513, allocations: 28.84 kB / 470.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.1516, allocations: 59.89 kB / 470.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.1516, allocations: 11.92 kB / 470.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1518, allocations: 12.3 kB / 470.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1518, allocations: 16 kB / 470.8 MB, free: 11.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.152, allocations: 145.8 kB / 470.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.152, allocations: 23.81 kB / 470.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.1523, allocations: 143.2 kB / 471.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1523, allocations: 4 kB / 471.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1523, allocations: 0 / 471.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1523, allocations: 3.984 kB / 471.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.1527, allocations: 285.5 kB / 471.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1527, allocations: 7.938 kB / 471.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.1529, allocations: 31.92 kB / 471.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1529, allocations: 4 kB / 471.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1529, allocations: 4 kB / 471.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1529, allocations: 0 / 471.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.153, allocations: 7.984 kB / 471.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.1534, allocations: 363.2 kB / 471.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.1535, allocations: 96.86 kB / 471.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.1535, allocations: 7.938 kB / 471.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1537, allocations: 4 kB / 471.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1537, allocations: 11.97 kB / 471.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1537, allocations: 4 kB / 471.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.1539, allocations: 174 kB / 472.1 MB, free: 10 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1539, allocations: 4.062 kB / 472.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.1543, allocations: 48 kB / 472.1 MB, free: 9.949 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007094/0.155, allocations: 0.8875 MB / 473 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000362/0.1553, allocations: 218 kB / 473.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1554, allocations: 0 / 473.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.1555, allocations: 47.92 kB / 473.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.156, allocations: 49.47 kB / 473.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.1583, allocations: 1.593 MB / 474.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1587, allocations: 0.7716 MB / 475.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.1589, allocations: 30.3 kB / 475.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.159, allocations: 87.39 kB / 475.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.159, allocations: 0 / 475.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.1756, allocations: 4.498 MB / 480.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.1759, allocations: 211.1 kB / 480.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.044, allocations: 64 / 480.5 MB, free: 1.539 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat does not exist to compare? outputFormat=mat