Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",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.0009219/0.0009271, allocations: 92.7 kB / 16.3 MB, free: 6.133 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.0008868/0.0008869, allocations: 179 kB / 17.2 MB, free: 6.016 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.282/1.282, allocations: 223.2 MB / 241.1 MB, free: 288 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1701/0.1701, allocations: 38.09 MB / 330.3 MB, free: 8.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 12.69 kB / 400.1 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1102, allocations: 59.16 MB / 459.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004209/0.1145, allocations: 4.237 MB / 463.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.116, allocations: 1.092 MB / 464.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.1162, allocations: 23.81 kB / 464.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1164, allocations: 55.59 kB / 464.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.1169, allocations: 215.4 kB / 464.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.1172, allocations: 107.8 kB / 464.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.1175, allocations: 255.4 kB / 465.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.1177, allocations: 109.7 kB / 465.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.1179, allocations: 163.3 kB / 465.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.1182, allocations: 167.5 kB / 465.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.1183, allocations: 12 kB / 465.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.1183, allocations: 19.94 kB / 465.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1184, allocations: 123.7 kB / 465.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.064e-05/0.1185, allocations: 89.52 kB / 465.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1188, allocations: 267.3 kB / 466.1 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1188, allocations: 0 / 466.1 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1188, allocations: 4 kB / 466.1 MB, free: 392 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1188, allocations: 3.938 kB / 466.1 MB, free: 388 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009428/0.1197, allocations: 0.6009 MB / 466.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1198, allocations: 12.03 kB / 466.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/0.1199, allocations: 58.55 kB / 466.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.1199, allocations: 43.53 kB / 466.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.1204, allocations: 342.7 kB / 467.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1205, allocations: 24.55 kB / 467.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.1205, allocations: 24 kB / 467.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.121, allocations: 356.7 kB / 467.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.121, allocations: 0 / 467.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.1211, allocations: 12 kB / 467.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.991e-05/0.1212, allocations: 28.53 kB / 467.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.1215, allocations: 238 kB / 467.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.1231, allocations: 1.386 MB / 469.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.1234, allocations: 165 kB / 469.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1235, allocations: 4.062 kB / 469.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1235, allocations: 30.56 kB / 469.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.1235, allocations: 0 / 469.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001211/0.1247, allocations: 0.7748 MB / 470.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1248, allocations: 81.06 kB / 470.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.125, allocations: 292.6 kB / 470.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1251, allocations: 29.7 kB / 470.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1252, allocations: 219.5 kB / 470.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.1252, allocations: 59.31 kB / 470.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.1253, allocations: 8 kB / 470.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1254, allocations: 338.8 kB / 471.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1255, allocations: 67.95 kB / 471.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1256, allocations: 168.8 kB / 471.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1258, allocations: 103 kB / 471.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1258, allocations: 7.938 kB / 471.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004437/0.1262, allocations: 314.2 kB / 471.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1263, allocations: 4 kB / 471.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1263, allocations: 4 kB / 471.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.1265, allocations: 56.78 kB / 471.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1267, allocations: 47.91 kB / 472 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.1278, allocations: 1.503 MB / 473.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.128, allocations: 11.94 kB / 473.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.128, allocations: 12 kB / 473.5 MB, free: 8.461 MB / 350.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.1282, allocations: 173.9 kB / 473.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.1282, allocations: 35.61 kB / 473.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.1286, allocations: 236.3 kB / 473.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1286, allocations: 0 / 473.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1286, allocations: 4 kB / 473.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1286, allocations: 0 / 473.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.1294, allocations: 0.6365 MB / 474.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1294, allocations: 4 kB / 474.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1295, allocations: 35.89 kB / 474.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001731/0.1297, allocations: 52.8 kB / 474.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.1297, allocations: 7.984 kB / 474.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.1309, allocations: 1.507 MB / 476.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1309, allocations: 0 / 476.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.1314, allocations: 435.6 kB / 476.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.1314, allocations: 108.7 kB / 476.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.1315, allocations: 8 kB / 476.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1316, allocations: 8 kB / 476.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.1317, allocations: 11.97 kB / 476.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1317, allocations: 4 kB / 476.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.1319, allocations: 215.1 kB / 476.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1319, allocations: 0 / 476.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.1322, allocations: 64 kB / 477 MB, free: 4.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007801/0.133, allocations: 1.104 MB / 478.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004392/0.1335, allocations: 298.3 kB / 478.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1335, allocations: 0.9375 kB / 478.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.1338, allocations: 202.6 kB / 478.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1342, allocations: 63.83 kB / 478.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.1372, allocations: 4.076 MB / 482.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1375, allocations: 0.8184 MB / 483.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.1377, allocations: 46.95 kB / 483.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1378, allocations: 99.39 kB / 483.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1378, allocations: 0 / 483.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.1528, allocations: 5.686 MB / 489.4 MB, free: 8.258 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.153, allocations: 206.8 kB / 489.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/1.923, allocations: 0 / 489.6 MB, free: 8.02 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat does not exist to compare? outputFormat=mat