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.0008788/0.0008789, allocations: 93.23 kB / 16.31 MB, free: 6.008 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.0008903/0.0008904, allocations: 185.4 kB / 17.21 MB, free: 5.902 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.627/1.627, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3635/0.3635, allocations: 38.06 MB / 309.7 MB, free: 8.941 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.0006165/0.0006166, allocations: 18.19 kB / 376.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1343, allocations: 56.32 MB / 432.9 MB, free: 6.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003968/0.1383, allocations: 3.175 MB / 436.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.1407, allocations: 1.447 MB / 437.6 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.141, allocations: 7.938 kB / 437.6 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.1412, allocations: 43.75 kB / 437.6 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007655/0.142, allocations: 211.1 kB / 437.8 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.1423, allocations: 91.77 kB / 437.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.1429, allocations: 442.8 kB / 438.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006719/0.1436, allocations: 315.1 kB / 438.7 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.1439, allocations: 127.4 kB / 438.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.1442, allocations: 147.5 kB / 438.9 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1443, allocations: 8 kB / 438.9 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.1447, allocations: 163.5 kB / 439.1 MB, free: 416 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.1448, allocations: 91.73 kB / 439.2 MB, free: 324 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.1449, allocations: 61.64 kB / 439.2 MB, free: 256 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.1453, allocations: 247.5 kB / 439.5 MB, free: 8 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1453, allocations: 0 / 439.5 MB, free: 8 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1453, allocations: 0 / 439.5 MB, free: 8 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1453, allocations: 4 kB / 439.5 MB, free: 4 kB / 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.0007382/0.1461, allocations: 494.3 kB / 440 MB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1461, allocations: 8.031 kB / 440 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.909e-05/0.1462, allocations: 54.55 kB / 440 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008207/0.147, allocations: 91.61 kB / 440.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1474, allocations: 251.2 kB / 440.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1474, allocations: 12 kB / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.1475, allocations: 23.98 kB / 440.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.1479, allocations: 322.2 kB / 440.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.148, allocations: 0 / 440.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.148, allocations: 11.95 kB / 440.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.148, allocations: 16 kB / 440.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.1485, allocations: 287.6 kB / 441 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.1501, allocations: 1.285 MB / 442.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.1505, allocations: 250.2 kB / 442.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1506, allocations: 53.77 kB / 442.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.1507, allocations: 7.984 kB / 442.6 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1507, allocations: 30.56 kB / 442.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.1507, allocations: 0 / 442.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005791/0.1513, allocations: 280.8 kB / 442.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.1514, allocations: 89.17 kB / 443 MB, free: 12.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1516, allocations: 198.2 kB / 443.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1516, allocations: 29.64 kB / 443.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.1517, allocations: 159.8 kB / 443.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.1517, allocations: 47.3 kB / 443.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.1518, allocations: 4 kB / 443.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1519, allocations: 334.8 kB / 443.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.152, allocations: 43.97 kB / 443.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1521, allocations: 140.9 kB / 443.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1522, allocations: 79.95 kB / 444 MB, free: 11.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1522, allocations: 0 / 444 MB, free: 11.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003418/0.1526, allocations: 221.1 kB / 444.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1526, allocations: 8 kB / 444.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1526, allocations: 4 kB / 444.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1526, allocations: 7.984 kB / 444.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.1528, allocations: 56.33 kB / 444.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1528, allocations: 11.94 kB / 444.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1529, allocations: 7.938 kB / 444.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.153, allocations: 12 kB / 444.3 MB, free: 10.77 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.000133/0.1531, allocations: 161.6 kB / 444.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1532, allocations: 15.81 kB / 444.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.1534, allocations: 151.2 kB / 444.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1534, allocations: 0 / 444.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1534, allocations: 3.984 kB / 444.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1535, allocations: 8 kB / 444.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008062/0.1543, allocations: 0.6611 MB / 445.3 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-05/0.1544, allocations: 8.062 kB / 445.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1545, allocations: 31.92 kB / 445.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1545, allocations: 4 kB / 445.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1545, allocations: 4 kB / 445.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.1545, allocations: 12.36 kB / 445.4 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1545, allocations: 4 kB / 445.4 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.1548, allocations: 331.3 kB / 445.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.1549, allocations: 100.9 kB / 445.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.155, allocations: 16 kB / 445.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1551, allocations: 4 kB / 445.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1551, allocations: 23.88 kB / 445.9 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1551, allocations: 4 kB / 445.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1553, allocations: 148.3 kB / 446 MB, free: 8.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1553, allocations: 0 / 446 MB, free: 8.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.1556, allocations: 48 kB / 446.1 MB, free: 8.859 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.0006203/0.1563, allocations: 0.8723 MB / 446.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1565, allocations: 131.8 kB / 447.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1565, allocations: 3.938 kB / 447.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.1567, allocations: 69.22 kB / 447.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.1571, allocations: 36.12 kB / 447.2 MB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1589, allocations: 1.282 MB / 448.4 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1593, allocations: 0.7559 MB / 449.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.1594, allocations: 41.5 kB / 449.2 MB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.1595, allocations: 63.42 kB / 449.3 MB, free: 5.375 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1595, allocations: 0 / 449.3 MB, free: 5.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.1765, allocations: 3.119 MB / 452.4 MB, free: 2.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.1768, allocations: 188.8 kB / 452.6 MB, free: 2.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.917, allocations: 3.938 kB / 452.6 MB, free: 2 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: