Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_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.0009642/0.0009642, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001082/0.001082, allocations: 178.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 223.3 MB, free: 5.332 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3648/0.3648, allocations: 38.05 MB / 309.7 MB, free: 9.051 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005132, allocations: 14.19 kB / 376.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 56.34 MB / 432.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003746/0.131, allocations: 3.099 MB / 436 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1329, allocations: 1.405 MB / 437.4 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.133, allocations: 15.94 kB / 437.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.1332, allocations: 35.75 kB / 437.5 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.1336, allocations: 175.4 kB / 437.6 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.1339, allocations: 91.75 kB / 437.7 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.1341, allocations: 159.6 kB / 437.9 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006/0.1347, allocations: 303.1 kB / 438.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.1349, allocations: 107.6 kB / 438.3 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1351, allocations: 83.62 kB / 438.4 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1351, allocations: 8 kB / 438.4 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.1354, allocations: 155.7 kB / 438.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/0.1355, allocations: 83.78 kB / 438.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.1356, allocations: 61.64 kB / 438.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.1359, allocations: 243.4 kB / 438.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1359, allocations: 0 / 438.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1359, allocations: 4 kB / 438.9 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1359, allocations: 0 / 438.9 MB, free: 0.5664 MB / 366.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.0006248/0.1365, allocations: 486.4 kB / 439.4 MB, free: 44 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1366, allocations: 12.03 kB / 439.4 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.026e-05/0.1367, allocations: 54.55 kB / 439.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008169/0.1375, allocations: 99.55 kB / 439.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.1378, allocations: 251.2 kB / 439.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1378, allocations: 15.98 kB / 439.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.1379, allocations: 27.94 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.1384, allocations: 310.3 kB / 440.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1384, allocations: 0 / 440.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.1384, allocations: 11.94 kB / 440.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.1384, allocations: 23.98 kB / 440.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.1389, allocations: 291.6 kB / 440.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.1404, allocations: 1.281 MB / 441.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.1408, allocations: 246.3 kB / 442 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1409, allocations: 3.984 kB / 442 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1409, allocations: 42.69 kB / 442 MB, free: 13.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1409, allocations: 0 / 442 MB, free: 13.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.000604/0.1415, allocations: 284.5 kB / 442.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.1416, allocations: 85.16 kB / 442.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1418, allocations: 194.2 kB / 442.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1418, allocations: 33.7 kB / 442.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1419, allocations: 159.8 kB / 442.8 MB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.142, allocations: 51.28 kB / 442.8 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.142, allocations: 4 kB / 442.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1421, allocations: 334.8 kB / 443.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.1422, allocations: 43.97 kB / 443.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1424, allocations: 140.8 kB / 443.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1425, allocations: 75.92 kB / 443.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1425, allocations: 0 / 443.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002927/0.1428, allocations: 229.7 kB / 443.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1428, allocations: 7.984 kB / 443.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1428, allocations: 4 kB / 443.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1429, allocations: 4 kB / 443.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.143, allocations: 43.92 kB / 443.7 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.143, allocations: 4.438 kB / 443.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.1431, allocations: 12 kB / 443.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1432, allocations: 15.98 kB / 443.7 MB, free: 11.39 MB / 382.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.0001421/0.1433, allocations: 161.7 kB / 443.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.1434, allocations: 15.81 kB / 443.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.1436, allocations: 151.2 kB / 444 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1436, allocations: 4 kB / 444 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1437, allocations: 0 / 444 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1437, allocations: 0 / 444 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008075/0.1445, allocations: 0.6728 MB / 444.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1445, allocations: 4 kB / 444.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.914e-05/0.1446, allocations: 31.92 kB / 444.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.1446, allocations: 4 kB / 444.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1446, allocations: 11.94 kB / 444.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1446, allocations: 7.938 kB / 444.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1447, allocations: 7.938 kB / 444.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.1451, allocations: 0.4919 MB / 445.3 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.1451, allocations: 100.9 kB / 445.4 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.1452, allocations: 8 kB / 445.4 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.1453, allocations: 8 kB / 445.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.1453, allocations: 19.88 kB / 445.4 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1453, allocations: 12 kB / 445.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1455, allocations: 144.3 kB / 445.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1455, allocations: 0 / 445.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.1458, allocations: 40 kB / 445.6 MB, free: 9.227 MB / 382.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.0009553/0.1468, allocations: 1.999 MB / 447.6 MB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.147, allocations: 143.9 kB / 447.7 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.147, allocations: 0 / 447.7 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.1471, allocations: 63.78 kB / 447.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1475, allocations: 33.73 kB / 447.8 MB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.1499, allocations: 3.368 MB / 451.2 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1503, allocations: 0.7715 MB / 452 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.1504, allocations: 45.55 kB / 452 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.1505, allocations: 59.41 kB / 452.1 MB, free: 2.445 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1505, allocations: 0 / 452.1 MB, free: 2.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2144/0.3649, allocations: 3.087 MB / 455.2 MB, free: 50.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.3651, allocations: 175 kB / 455.3 MB, free: 50.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.978, allocations: 0 / 455.3 MB, free: 50.27 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) Environment - environmentSimulation: