Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.000902/0.000902, allocations: 96.97 kB / 16.3 MB, free: 5.656 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.001106/0.001106, allocations: 182 kB / 17.19 MB, free: 5.59 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.262/1.262, allocations: 223.2 MB / 241.1 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1611/0.1611, allocations: 38.1 MB / 330.3 MB, free: 8.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003005, allocations: 9.219 kB / 400.1 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 59.17 MB / 459.2 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004988/0.1124, allocations: 4.424 MB / 463.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.1153, allocations: 1.645 MB / 465.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003412/0.1157, allocations: 31.81 kB / 465.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.1159, allocations: 67.52 kB / 465.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007607/0.1167, allocations: 247.2 kB / 465.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007611/0.1174, allocations: 231.5 kB / 465.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.1179, allocations: 323.7 kB / 466.2 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.1186, allocations: 446.9 kB / 466.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.1189, allocations: 191.3 kB / 466.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.1193, allocations: 227.3 kB / 467 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.1193, allocations: 16 kB / 467 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.1195, allocations: 87.86 kB / 467.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.1197, allocations: 179.6 kB / 467.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1198, allocations: 113.5 kB / 467.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.1203, allocations: 446.9 kB / 467.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1203, allocations: 3.938 kB / 467.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1203, allocations: 0 / 467.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1203, allocations: 4 kB / 467.9 MB, free: 14.62 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001233/0.1216, allocations: 0.6801 MB / 468.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1216, allocations: 12.03 kB / 468.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.1217, allocations: 90.5 kB / 468.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005758/0.1223, allocations: 99.22 kB / 468.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.123, allocations: 398.8 kB / 469.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.123, allocations: 29 kB / 469.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.1231, allocations: 43.98 kB / 469.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008854/0.124, allocations: 0.656 MB / 469.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1241, allocations: 3.938 kB / 469.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.1241, allocations: 24 kB / 469.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.1243, allocations: 48.91 kB / 469.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007249/0.125, allocations: 487.5 kB / 470.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.1283, allocations: 3.152 MB / 473.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.1288, allocations: 241.9 kB / 473.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1288, allocations: 12.23 kB / 473.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1288, allocations: 38.69 kB / 473.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.973e-06/0.1289, allocations: 0 / 473.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001412/0.1303, allocations: 0.89 MB / 474.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.1303, allocations: 81.11 kB / 474.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.1307, allocations: 336.5 kB / 475.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1307, allocations: 29.7 kB / 475.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.1309, allocations: 291 kB / 475.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.167e-05/0.131, allocations: 86.83 kB / 475.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.131, allocations: 8 kB / 475.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1312, allocations: 346.8 kB / 475.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.1314, allocations: 128.8 kB / 476 MB, free: 5.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.1317, allocations: 321.1 kB / 476.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.132, allocations: 207.5 kB / 476.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.132, allocations: 0 / 476.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001015/0.133, allocations: 0.5885 MB / 477.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.133, allocations: 8 kB / 477.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005841/0.1336, allocations: 333.4 kB / 477.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/0.134, allocations: 121.6 kB / 477.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.1343, allocations: 87.83 kB / 477.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/0.1374, allocations: 3.057 MB / 480.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.1377, allocations: 16 kB / 480.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.1378, allocations: 24 kB / 480.7 MB, free: 0.8711 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003093/0.1381, allocations: 217.7 kB / 481 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.1381, allocations: 39.48 kB / 481 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.1387, allocations: 312.9 kB / 481.3 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.1387, allocations: 4 kB / 481.3 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.1387, allocations: 0 / 481.3 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1387, allocations: 0 / 481.3 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.1398, allocations: 0.8044 MB / 482.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1399, allocations: 3.938 kB / 482.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.1402, allocations: 63.89 kB / 482.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.1402, allocations: 4 kB / 482.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1402, allocations: 8 kB / 482.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1402, allocations: 4 kB / 482.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1402, allocations: 0 / 482.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.1408, allocations: 0.5413 MB / 482.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.141, allocations: 128.7 kB / 482.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.141, allocations: 8 kB / 482.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.1412, allocations: 15.98 kB / 482.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.1412, allocations: 19.94 kB / 482.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1413, allocations: 7.984 kB / 482.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.1415, allocations: 219.1 kB / 483.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1415, allocations: 0 / 483.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004825/0.142, allocations: 96 kB / 483.2 MB, free: 14.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * 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.0009675/0.143, allocations: 1.297 MB / 484.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008758/0.1438, allocations: 0.5685 MB / 485.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1439, allocations: 0 / 485.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.144, allocations: 132.2 kB / 485.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1444, allocations: 61.33 kB / 485.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.1493, allocations: 6.916 MB / 492.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.1498, allocations: 0.8779 MB / 493.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003021/0.1501, allocations: 111.2 kB / 493.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.1503, allocations: 143.4 kB / 493.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1503, allocations: 0 / 493.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.1693, allocations: 7.216 MB / 0.4888 GB, free: 12.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.1696, allocations: 201.6 kB / 0.489 GB, free: 12.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.868, allocations: 4 kB / 0.489 GB, free: 12.6 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat does not exist to compare? outputFormat=mat