Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.001215/0.001215, allocations: 92 kB / 16.31 MB, free: 5.555 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.001336/0.001336, allocations: 179.8 kB / 17.21 MB, free: 5.477 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.397/1.397, allocations: 223.2 MB / 241.2 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1712/0.1712, allocations: 38.09 MB / 330.4 MB, free: 8.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 12.81 kB / 400.2 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1008, allocations: 59.16 MB / 459.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004815/0.1056, allocations: 4.263 MB / 463.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1075, allocations: 1.065 MB / 464.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.1077, allocations: 27.81 kB / 464.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.108, allocations: 59.53 kB / 464.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005811/0.1086, allocations: 230.8 kB / 465 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1089, allocations: 119.8 kB / 465.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006271/0.1096, allocations: 0.5177 MB / 465.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.1098, allocations: 114.2 kB / 465.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.1102, allocations: 171.2 kB / 465.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.1106, allocations: 227.2 kB / 466.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.1106, allocations: 16 kB / 466.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.483e-05/0.1107, allocations: 15.94 kB / 466.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1108, allocations: 107.7 kB / 466.2 MB, free: 408 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1109, allocations: 85.52 kB / 466.3 MB, free: 316 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.1112, allocations: 275.2 kB / 466.6 MB, free: 40 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1112, allocations: 0 / 466.6 MB, free: 40 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1113, allocations: 4 kB / 466.6 MB, free: 36 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.1113, allocations: 0 / 466.6 MB, free: 36 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001483/0.1128, allocations: 0.6437 MB / 467.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.1128, allocations: 8.031 kB / 467.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.117e-05/0.1129, allocations: 62.55 kB / 467.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.113, allocations: 39.52 kB / 467.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.1137, allocations: 370.6 kB / 467.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1137, allocations: 20.56 kB / 467.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.1138, allocations: 24 kB / 467.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.1144, allocations: 360.7 kB / 468.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1144, allocations: 0 / 468.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.1144, allocations: 15.94 kB / 468.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1144, allocations: 8 kB / 468.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.1149, allocations: 250 kB / 468.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.1169, allocations: 1.458 MB / 469.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.1172, allocations: 149.1 kB / 470 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1173, allocations: 81.73 kB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1173, allocations: 4.25 kB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1174, allocations: 42.48 kB / 470.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.1174, allocations: 0 / 470.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001184/0.1186, allocations: 0.6711 MB / 470.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.1187, allocations: 85.11 kB / 470.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.119, allocations: 304.3 kB / 471.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.119, allocations: 29.7 kB / 471.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1192, allocations: 215.6 kB / 471.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.1192, allocations: 59.19 kB / 471.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.1192, allocations: 0 / 471.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1194, allocations: 342.8 kB / 471.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1195, allocations: 71.97 kB / 471.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1197, allocations: 164.8 kB / 472 MB, free: 10.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1199, allocations: 94.94 kB / 472.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1199, allocations: 8 kB / 472.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004186/0.1203, allocations: 273 kB / 472.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1204, allocations: 8 kB / 472.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1204, allocations: 4.438 kB / 472.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1204, allocations: 8 kB / 472.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.1206, allocations: 59.91 kB / 472.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1207, allocations: 7.984 kB / 472.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.1208, allocations: 12 kB / 472.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1209, allocations: 15.94 kB / 472.5 MB, free: 9.723 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 (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.121, allocations: 173.6 kB / 472.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.1211, allocations: 27.62 kB / 472.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.1215, allocations: 235.5 kB / 472.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1215, allocations: 0 / 472.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1216, allocations: 4 kB / 472.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1216, allocations: 3.984 kB / 472.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007427/0.1223, allocations: 0.6162 MB / 473.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1223, allocations: 3.984 kB / 473.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.1225, allocations: 31.98 kB / 473.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.1225, allocations: 8 kB / 473.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1226, allocations: 4 kB / 473.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1226, allocations: 11.97 kB / 473.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1226, allocations: 0 / 473.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.1231, allocations: 419.2 kB / 474 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.1232, allocations: 108.8 kB / 474.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.1232, allocations: 4 kB / 474.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1234, allocations: 12.05 kB / 474.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.1234, allocations: 11.98 kB / 474.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.1234, allocations: 12 kB / 474.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.1237, allocations: 207 kB / 474.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1237, allocations: 0 / 474.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000327/0.124, allocations: 60 kB / 474.4 MB, free: 7.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0007994/0.1248, allocations: 0.963 MB / 475.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.1251, allocations: 179.8 kB / 475.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.1251, allocations: 4.938 kB / 475.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1253, allocations: 91.89 kB / 475.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.1258, allocations: 64.55 kB / 475.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.1282, allocations: 1.855 MB / 477.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.1287, allocations: 0.8067 MB / 478.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.1289, allocations: 50.95 kB / 478.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.129, allocations: 107.4 kB / 478.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.129, allocations: 0 / 478.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.1457, allocations: 5.631 MB / 484.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.1459, allocations: 191.8 kB / 484.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.037, allocations: 0 / 484.4 MB, free: 13.7 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat does not exist to compare? outputFormat=mat