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.001116/0.001116, allocations: 98.48 kB / 16.3 MB, free: 5.59 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.001291/0.001291, allocations: 178.8 kB / 17.19 MB, free: 5.527 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.299/1.299, allocations: 223.2 MB / 241.1 MB, free: 14.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1608/0.1608, allocations: 38.08 MB / 330.3 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002541, allocations: 8 kB / 400.1 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1065, allocations: 59.17 MB / 459.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004401/0.111, allocations: 4.112 MB / 463.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1126, allocations: 1.088 MB / 464.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1128, allocations: 23.88 kB / 464.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.113, allocations: 47.59 kB / 464.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.1134, allocations: 207.3 kB / 464.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1137, allocations: 115.8 kB / 464.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.114, allocations: 279.4 kB / 465.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.1143, allocations: 114.1 kB / 465.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.1145, allocations: 159.4 kB / 465.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.1148, allocations: 175.4 kB / 465.5 MB, free: 1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.1148, allocations: 15.94 kB / 465.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.496e-05/0.1149, allocations: 16 kB / 465.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.115, allocations: 103.6 kB / 465.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.1151, allocations: 85.58 kB / 465.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.1154, allocations: 271.3 kB / 466 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.1154, allocations: 4 kB / 466 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1154, allocations: 0 / 466 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1154, allocations: 0 / 466 MB, free: 0.5078 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001196/0.1166, allocations: 0.6438 MB / 466.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1167, allocations: 8.031 kB / 466.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.319e-05/0.1167, allocations: 66.55 kB / 466.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.1168, allocations: 35.53 kB / 466.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.1174, allocations: 370.6 kB / 467.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1174, allocations: 24.55 kB / 467.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.1175, allocations: 24 kB / 467.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.118, allocations: 360.7 kB / 467.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.118, allocations: 0 / 467.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.118, allocations: 12 kB / 467.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.118, allocations: 4 kB / 467.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.1184, allocations: 254 kB / 467.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.1202, allocations: 1.458 MB / 469.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.1204, allocations: 153 kB / 469.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1204, allocations: 0 / 469.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1205, allocations: 38.62 kB / 469.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.434e-06/0.1205, allocations: 0 / 469.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001058/0.1215, allocations: 0.6756 MB / 470.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.1216, allocations: 77.11 kB / 470.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.1219, allocations: 308.5 kB / 470.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1219, allocations: 25.7 kB / 470.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1221, allocations: 219.5 kB / 470.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.1221, allocations: 55.27 kB / 470.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.1221, allocations: 8 kB / 470.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1223, allocations: 338.8 kB / 471.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1224, allocations: 63.95 kB / 471.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.1226, allocations: 176.7 kB / 471.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1227, allocations: 95.28 kB / 471.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1227, allocations: 0 / 471.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003641/0.1231, allocations: 277 kB / 471.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1231, allocations: 4 kB / 471.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1231, allocations: 7.938 kB / 471.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1231, allocations: 8 kB / 471.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.1234, allocations: 55.91 kB / 471.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1234, allocations: 8 kB / 471.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.1236, allocations: 16.42 kB / 471.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.1236, allocations: 16 kB / 471.8 MB, free: 10.28 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.0001536/0.1238, allocations: 173.6 kB / 472 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.1238, allocations: 31.62 kB / 472 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.1242, allocations: 227.5 kB / 472.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1242, allocations: 4 kB / 472.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1242, allocations: 0 / 472.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1242, allocations: 0 / 472.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007381/0.1249, allocations: 0.624 MB / 472.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.125, allocations: 4 kB / 472.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.1252, allocations: 35.97 kB / 472.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1252, allocations: 0 / 472.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1252, allocations: 8 kB / 472.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1252, allocations: 0 / 472.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1252, allocations: 0 / 472.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.1257, allocations: 459.8 kB / 473.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.1258, allocations: 108.7 kB / 473.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.1258, allocations: 4 kB / 473.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.126, allocations: 19.92 kB / 473.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.126, allocations: 15.94 kB / 473.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.126, allocations: 8.062 kB / 473.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.1262, allocations: 207.1 kB / 473.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1262, allocations: 0 / 473.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1266, allocations: 64 kB / 473.8 MB, free: 8.191 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.0007602/0.1273, allocations: 1.116 MB / 474.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.1276, allocations: 179.7 kB / 475.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1276, allocations: 0.9375 kB / 475.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1278, allocations: 95.88 kB / 475.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.1281, allocations: 60.62 kB / 475.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.1311, allocations: 3.937 MB / 479.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.1315, allocations: 0.8145 MB / 480 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.1317, allocations: 54.95 kB / 480 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1318, allocations: 111.4 kB / 480.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1318, allocations: 0 / 480.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.1484, allocations: 5.603 MB / 485.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.1486, allocations: 190.2 kB / 485.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/1.92, allocations: 0 / 485.9 MB, free: 11.95 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