Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.001011/0.001011, allocations: 93.91 kB / 16.31 MB, free: 6.461 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.001109/0.001109, allocations: 173 kB / 17.19 MB, free: 6.348 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.281/1.281, allocations: 223.2 MB / 241.1 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1632/0.1632, allocations: 38.09 MB / 330.3 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002998, allocations: 8 kB / 400.1 MB, free: 34.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.09913, allocations: 59.17 MB / 459.2 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004095/0.1032, allocations: 3.101 MB / 462.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1049, allocations: 1.365 MB / 463.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1051, allocations: 11.94 kB / 463.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1052, allocations: 39.77 kB / 463.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.1057, allocations: 167.4 kB / 463.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1059, allocations: 91.73 kB / 464 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1062, allocations: 155.7 kB / 464.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.1067, allocations: 311 kB / 464.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.1069, allocations: 107.6 kB / 464.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.107, allocations: 79.73 kB / 464.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1071, allocations: 8 kB / 464.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.1073, allocations: 151.7 kB / 464.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.107e-05/0.1074, allocations: 83.78 kB / 464.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.1075, allocations: 65.56 kB / 464.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.1077, allocations: 247.5 kB / 465.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1078, allocations: 0 / 465.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1078, allocations: 0 / 465.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1078, allocations: 0 / 465.2 MB, free: 1.324 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005943/0.1084, allocations: 474.6 kB / 465.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1084, allocations: 8.031 kB / 465.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.1085, allocations: 54.55 kB / 465.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007954/0.1093, allocations: 99.61 kB / 465.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.1096, allocations: 265.3 kB / 466.1 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1096, allocations: 23.91 kB / 466.1 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.1096, allocations: 16 kB / 466.1 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.1101, allocations: 306.4 kB / 466.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1101, allocations: 3.938 kB / 466.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.1101, allocations: 8 kB / 466.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.1102, allocations: 27.92 kB / 466.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.1106, allocations: 283.8 kB / 466.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.1121, allocations: 1.293 MB / 468 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.1125, allocations: 242.3 kB / 468.2 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1126, allocations: 8.047 kB / 468.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1126, allocations: 38.56 kB / 468.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.1126, allocations: 0 / 468.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005568/0.1132, allocations: 288.3 kB / 468.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1133, allocations: 89.12 kB / 468.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1134, allocations: 190.5 kB / 468.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1135, allocations: 25.7 kB / 468.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1136, allocations: 167.8 kB / 469 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.1136, allocations: 47.3 kB / 469.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.1136, allocations: 4 kB / 469.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1138, allocations: 326.8 kB / 469.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.1139, allocations: 47.91 kB / 469.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.114, allocations: 153.6 kB / 469.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1141, allocations: 63.98 kB / 469.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1141, allocations: 0 / 469.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002801/0.1144, allocations: 225.1 kB / 469.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1144, allocations: 8 kB / 469.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1144, allocations: 7.984 kB / 469.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1145, allocations: 8.391 kB / 469.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1146, allocations: 51.86 kB / 470 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1146, allocations: 7.938 kB / 470 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.4e-05/0.1147, allocations: 8 kB / 470 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.1148, allocations: 12 kB / 470 MB, free: 12.14 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 (25): * Single equations (assignments): 25 * 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.0001168/0.1149, allocations: 153.8 kB / 470.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.1149, allocations: 15.81 kB / 470.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.1152, allocations: 159.1 kB / 470.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1152, allocations: 3.953 kB / 470.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1152, allocations: 4 kB / 470.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1152, allocations: 4 kB / 470.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007698/0.116, allocations: 0.665 MB / 471 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.116, allocations: 4 kB / 471 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.1161, allocations: 27.98 kB / 471 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1161, allocations: 4 kB / 471 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1161, allocations: 4 kB / 471 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1161, allocations: 8.375 kB / 471 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1161, allocations: 8 kB / 471 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.1165, allocations: 0.4954 MB / 471.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.1166, allocations: 96.91 kB / 471.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.1166, allocations: 7.938 kB / 471.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1168, allocations: 11.95 kB / 471.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.1168, allocations: 19.92 kB / 471.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1168, allocations: 12 kB / 471.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.891e-05/0.1169, allocations: 140.3 kB / 471.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1169, allocations: 0 / 471.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.1173, allocations: 44 kB / 471.9 MB, free: 9.992 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000929/0.1182, allocations: 1.999 MB / 473.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1184, allocations: 139.7 kB / 474 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1185, allocations: 0 / 474 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.1185, allocations: 65.16 kB / 474.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1189, allocations: 32.56 kB / 474.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.1212, allocations: 3.365 MB / 477.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1215, allocations: 0.7637 MB / 478.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.1216, allocations: 49.59 kB / 478.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.1217, allocations: 63.41 kB / 478.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1217, allocations: 0 / 478.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.1343, allocations: 3.11 MB / 481.4 MB, free: 248 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.1346, allocations: 194 kB / 481.6 MB, free: 0 / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/1.819, allocations: 0 / 481.6 MB, free: 0 / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat does not exist to compare? outputFormat=mat