Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001185/0.001185, allocations: 98.12 kB / 16.3 MB, free: 5.574 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.00137/0.00137, allocations: 187.6 kB / 17.2 MB, free: 5.508 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.269/1.269, allocations: 223.2 MB / 241.1 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1562/0.1562, allocations: 38.09 MB / 330.3 MB, free: 8.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 11.98 kB / 400.1 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.103, allocations: 59.16 MB / 459.2 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003776/0.1068, allocations: 3.538 MB / 462.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1089, allocations: 1.696 MB / 464.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.109, allocations: 15.88 kB / 464.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1092, allocations: 51.67 kB / 464.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.1097, allocations: 227.3 kB / 464.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.11, allocations: 119.7 kB / 464.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.1103, allocations: 219.5 kB / 465.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007013/0.111, allocations: 402.5 kB / 465.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.1112, allocations: 143.5 kB / 465.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1114, allocations: 119.6 kB / 465.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.1114, allocations: 12 kB / 465.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.1118, allocations: 231.5 kB / 466 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.112, allocations: 127.7 kB / 466.1 MB, free: 436 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.112, allocations: 85.45 kB / 466.2 MB, free: 344 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.1124, allocations: 351.2 kB / 466.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1124, allocations: 4 kB / 466.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1124, allocations: 4 kB / 466.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1125, allocations: 0 / 466.5 MB, free: 15.98 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007043/0.1132, allocations: 0.5379 MB / 467.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1132, allocations: 12.03 kB / 467.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.536e-05/0.1133, allocations: 58.55 kB / 467.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.1145, allocations: 155.3 kB / 467.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1148, allocations: 288 kB / 467.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1149, allocations: 20.55 kB / 467.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.1149, allocations: 27.98 kB / 467.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.1155, allocations: 435.6 kB / 468 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1156, allocations: 0 / 468 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.1156, allocations: 12 kB / 468 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.1157, allocations: 24.55 kB / 468.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.1162, allocations: 429.8 kB / 468.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.1183, allocations: 1.722 MB / 470.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.1187, allocations: 286.7 kB / 470.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.1187, allocations: 8.234 kB / 470.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1188, allocations: 42.69 kB / 470.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.1188, allocations: 0 / 470.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001637/0.1204, allocations: 0.7901 MB / 471.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1205, allocations: 81.11 kB / 471.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1206, allocations: 203 kB / 471.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1207, allocations: 29.7 kB / 471.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1208, allocations: 188.1 kB / 471.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.1209, allocations: 74.92 kB / 471.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.1209, allocations: 4 kB / 471.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.121, allocations: 334.8 kB / 472.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1211, allocations: 104.5 kB / 472.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.1214, allocations: 205 kB / 472.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.1216, allocations: 143.9 kB / 472.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1216, allocations: 3.953 kB / 472.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006804/0.1223, allocations: 428.9 kB / 473.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1223, allocations: 8 kB / 473.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1223, allocations: 3.953 kB / 473.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.1226, allocations: 88.78 kB / 473.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.1229, allocations: 59.97 kB / 473.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.1248, allocations: 1.819 MB / 475.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1249, allocations: 19.92 kB / 475.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.125, allocations: 15.94 kB / 475.1 MB, free: 6.84 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 (29): * Single equations (assignments): 28 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.1252, allocations: 181.6 kB / 475.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.1252, allocations: 23.7 kB / 475.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/0.1259, allocations: 384.9 kB / 475.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1259, allocations: 4 kB / 475.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1259, allocations: 0 / 475.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1259, allocations: 0 / 475.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.1274, allocations: 0.9137 MB / 476.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1274, allocations: 0 / 476.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1275, allocations: 35.92 kB / 476.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002496/0.1278, allocations: 77.22 kB / 476.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1278, allocations: 15.95 kB / 476.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.1295, allocations: 1.729 MB / 478.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1295, allocations: 0 / 478.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.1302, allocations: 491.6 kB / 478.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.1303, allocations: 104.8 kB / 479 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.1304, allocations: 12 kB / 479 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1305, allocations: 15.92 kB / 479.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.1306, allocations: 11.98 kB / 479.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.1306, allocations: 12 kB / 479.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1307, allocations: 148.6 kB / 479.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1307, allocations: 0 / 479.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.1312, allocations: 84 kB / 479.3 MB, free: 2.328 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (22): * Single equations (assignments): 20 * 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 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.1322, allocations: 1.235 MB / 480.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.133, allocations: 419 kB / 481 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.133, allocations: 12 kB / 481 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004412/0.1334, allocations: 286.4 kB / 481.2 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1337, allocations: 31.97 kB / 481.3 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.1368, allocations: 3.694 MB / 485 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1372, allocations: 0.807 MB / 485.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.1374, allocations: 62.2 kB / 485.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1375, allocations: 87.34 kB / 485.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1375, allocations: 0 / 485.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/0.2413, allocations: 5.123 MB / 491 MB, free: 6.531 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/0.2417, allocations: 210.4 kB / 491.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.166, allocations: 0 / 491.3 MB, free: 6.293 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat does not exist to compare? outputFormat=mat