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.0007926/0.0007927, allocations: 86.55 kB / 16.31 MB, free: 6.449 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.000816/0.0008159, allocations: 179.9 kB / 17.21 MB, free: 6.32 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.413/1.413, allocations: 223.2 MB / 241.2 MB, free: 14.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1956/0.1956, allocations: 38.1 MB / 330.4 MB, free: 8.625 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003873, allocations: 11.94 kB / 400.2 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 59.17 MB / 459.3 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005295/0.1325, allocations: 3.175 MB / 462.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.1352, allocations: 1.388 MB / 463.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.1356, allocations: 11.94 kB / 463.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1358, allocations: 39.7 kB / 464 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00081/0.1366, allocations: 215.1 kB / 464.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.137, allocations: 91.75 kB / 464.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006273/0.1377, allocations: 434.8 kB / 464.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007224/0.1384, allocations: 323.1 kB / 465 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.1387, allocations: 127.4 kB / 465.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.139, allocations: 143.5 kB / 465.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.139, allocations: 8 kB / 465.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.1394, allocations: 163.5 kB / 465.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1395, allocations: 91.81 kB / 465.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.434e-05/0.1396, allocations: 65.58 kB / 465.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.1399, allocations: 243.4 kB / 465.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1399, allocations: 0 / 465.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1399, allocations: 0 / 465.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1399, allocations: 4 kB / 465.8 MB, free: 0.75 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.000714/0.1406, allocations: 478.6 kB / 466.3 MB, free: 240 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1407, allocations: 8.031 kB / 466.3 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.1408, allocations: 50.55 kB / 466.3 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008289/0.1416, allocations: 95.59 kB / 466.4 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1419, allocations: 261.1 kB / 466.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.142, allocations: 23.91 kB / 466.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.142, allocations: 16 kB / 466.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.1425, allocations: 314.3 kB / 467 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1426, allocations: 4 kB / 467 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.1426, allocations: 7.938 kB / 467.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.1426, allocations: 19.98 kB / 467.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.1431, allocations: 287.8 kB / 467.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.1448, allocations: 1.293 MB / 468.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.1453, allocations: 246.3 kB / 468.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.1454, allocations: 53.75 kB / 468.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1455, allocations: 0 / 468.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.1455, allocations: 38.5 kB / 469 MB, free: 13.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1455, allocations: 8 kB / 469 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006447/0.1462, allocations: 288.2 kB / 469.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.1462, allocations: 77.11 kB / 469.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1464, allocations: 186.3 kB / 469.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1465, allocations: 29.7 kB / 469.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1466, allocations: 163.8 kB / 469.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.1466, allocations: 51.3 kB / 469.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.1467, allocations: 4 kB / 469.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1468, allocations: 331 kB / 470.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.1469, allocations: 51.91 kB / 470.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.147, allocations: 141.7 kB / 470.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1472, allocations: 79.86 kB / 470.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1472, allocations: 0 / 470.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003277/0.1475, allocations: 225.1 kB / 470.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1475, allocations: 4.438 kB / 470.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1475, allocations: 7.953 kB / 470.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1476, allocations: 8 kB / 470.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1477, allocations: 43.92 kB / 470.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1477, allocations: 4 kB / 470.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.1478, allocations: 8 kB / 470.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.1479, allocations: 15.98 kB / 470.7 MB, free: 11.52 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.0001464/0.148, allocations: 153.8 kB / 470.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.1481, allocations: 15.81 kB / 470.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.1484, allocations: 158.1 kB / 471 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1484, allocations: 7.953 kB / 471 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1484, allocations: 0 / 471 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1484, allocations: 0 / 471 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008274/0.1492, allocations: 0.6689 MB / 471.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1492, allocations: 4 kB / 471.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.896e-05/0.1493, allocations: 31.92 kB / 471.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1494, allocations: 4.438 kB / 471.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1494, allocations: 12 kB / 471.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1494, allocations: 4 kB / 471.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.1494, allocations: 7.938 kB / 471.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.1497, allocations: 342.5 kB / 472.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.1498, allocations: 96.92 kB / 472.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.1498, allocations: 7.984 kB / 472.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.15, allocations: 8 kB / 472.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.15, allocations: 23.91 kB / 472.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.15, allocations: 12 kB / 472.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1501, allocations: 144.3 kB / 472.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1501, allocations: 0 / 472.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003537/0.1505, allocations: 44 kB / 472.4 MB, free: 9.613 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.0006351/0.1512, allocations: 0.8722 MB / 473.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1514, allocations: 132.4 kB / 473.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1514, allocations: 192 / 473.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.1515, allocations: 71.78 kB / 473.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.1519, allocations: 32.16 kB / 473.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1537, allocations: 1.268 MB / 474.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1541, allocations: 0.7637 MB / 475.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.1542, allocations: 45.58 kB / 475.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.1543, allocations: 59.41 kB / 475.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1543, allocations: 0 / 475.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.1684, allocations: 3.122 MB / 478.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.1686, allocations: 193.3 kB / 478.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.049, allocations: 3.938 kB / 478.9 MB, free: 2.914 MB / 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