Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 186.2 kB / 15.77 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 221.9 MB, free: 13.69 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 86.86 kB / 270.2 MB, free: 13.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2679/0.2679, allocations: 38.05 MB / 356.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004621, allocations: 8 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1121, allocations: 56.33 MB / 479.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.00542/0.1176, allocations: 3.105 MB / 482.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.1208, allocations: 1.413 MB / 483.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.1212, allocations: 15.88 kB / 483.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1214, allocations: 35.77 kB / 483.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008618/0.1222, allocations: 167.5 kB / 483.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.1227, allocations: 91.73 kB / 484 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.1231, allocations: 159.6 kB / 484.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009202/0.124, allocations: 303.1 kB / 484.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.1244, allocations: 107.6 kB / 484.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.1246, allocations: 83.69 kB / 484.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.1246, allocations: 8 kB / 484.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005779/0.1252, allocations: 151.7 kB / 484.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1254, allocations: 91.66 kB / 484.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1255, allocations: 65.62 kB / 484.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.126, allocations: 243.4 kB / 485.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1261, allocations: 0 / 485.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1261, allocations: 0 / 485.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1261, allocations: 0 / 485.1 MB, free: 11.86 MB / 330.7 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.0008332/0.1269, allocations: 482.6 kB / 485.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.127, allocations: 8.031 kB / 485.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.35e-05/0.1271, allocations: 54.55 kB / 485.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.1284, allocations: 103.6 kB / 485.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.1289, allocations: 255.1 kB / 486 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.129, allocations: 12 kB / 486 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.1291, allocations: 19.91 kB / 486.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.1299, allocations: 326.2 kB / 486.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1299, allocations: 0 / 486.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.13, allocations: 8 kB / 486.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/0.13, allocations: 15.98 kB / 486.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/0.1308, allocations: 295.6 kB / 486.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.1334, allocations: 1.281 MB / 488 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.1341, allocations: 246.3 kB / 488.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.1342, allocations: 16.03 kB / 488.2 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.1342, allocations: 30.78 kB / 488.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 4.128e-06/0.1342, allocations: 3.938 kB / 488.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009152/0.1352, allocations: 276.4 kB / 488.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.1353, allocations: 93.03 kB / 488.6 MB, free: 8.094 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.1356, allocations: 190.2 kB / 488.8 MB, free: 7.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1356, allocations: 29.7 kB / 488.8 MB, free: 7.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1358, allocations: 222.4 kB / 489 MB, free: 7.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.1358, allocations: 51.3 kB / 489.1 MB, free: 7.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.1359, allocations: 4 kB / 489.1 MB, free: 7.586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.136, allocations: 326.8 kB / 489.4 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1362, allocations: 43.97 kB / 489.5 MB, free: 7.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.1364, allocations: 140.8 kB / 489.6 MB, free: 7.031 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1366, allocations: 76.52 kB / 489.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1366, allocations: 0 / 489.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005263/0.1372, allocations: 221.3 kB / 489.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1372, allocations: 8 kB / 489.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1372, allocations: 0 / 489.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.1372, allocations: 8 kB / 489.9 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.1376, allocations: 43.91 kB / 490 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.1376, allocations: 11.94 kB / 490 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1378, allocations: 8 kB / 490 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.1378, allocations: 11.94 kB / 490 MB, free: 6.645 MB / 330.7 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.0002155/0.1381, allocations: 166 kB / 490.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.1381, allocations: 15.81 kB / 490.2 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.1385, allocations: 147.2 kB / 490.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1386, allocations: 0 / 490.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1386, allocations: 0 / 490.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1386, allocations: 0 / 490.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.14, allocations: 0.6732 MB / 491 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.14, allocations: 7.938 kB / 491 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.1402, allocations: 31.92 kB / 491 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/0.1402, allocations: 11.95 kB / 491 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.1403, allocations: 7.984 kB / 491 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.1403, allocations: 7.938 kB / 491 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.1403, allocations: 4 kB / 491 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.141, allocations: 0.4915 MB / 491.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1411, allocations: 100.9 kB / 491.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.1411, allocations: 7.984 kB / 491.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1413, allocations: 12 kB / 491.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.1414, allocations: 19.88 kB / 491.7 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.1414, allocations: 16.06 kB / 491.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001848/0.1416, allocations: 144.1 kB / 491.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1417, allocations: 0 / 491.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005223/0.1422, allocations: 44 kB / 491.9 MB, free: 4.477 MB / 330.7 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.001368/0.1436, allocations: 1.999 MB / 493.9 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004303/0.144, allocations: 132.5 kB / 494 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1441, allocations: 0 / 494 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.1442, allocations: 71.91 kB / 494.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.1447, allocations: 32.12 kB / 494.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.1487, allocations: 3.406 MB / 497.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.1493, allocations: 0.7598 MB / 498.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.1495, allocations: 63.41 kB / 498.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1495, allocations: 0 / 498.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.446/2.596, allocations: 3.197 MB / 0.4898 GB, free: 10.5 MB / 346.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)