Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.001069/0.001069, allocations: 111.5 kB / 17.06 MB, free: 6.102 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.001098/0.001098, allocations: 200 kB / 18 MB, free: 5.18 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.39/1.39, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1826/0.1826, allocations: 37.99 MB / 309.2 MB, free: 5.945 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.001479/0.001479, allocations: 67.91 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 55.25 MB / 486.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005456/0.1135, allocations: 3.438 MB / 490 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.1159, allocations: 1.486 MB / 491.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.1161, allocations: 7.938 kB / 491.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009327/0.1171, allocations: 259.5 kB / 491.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000667/0.1177, allocations: 278.9 kB / 492.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1181, allocations: 107.7 kB / 492.2 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.1185, allocations: 335.1 kB / 492.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.1188, allocations: 138.5 kB / 492.6 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.1191, allocations: 151.4 kB / 492.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.1194, allocations: 147.5 kB / 492.9 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.1194, allocations: 16 kB / 492.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.1199, allocations: 315.2 kB / 493.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1201, allocations: 91.77 kB / 493.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1202, allocations: 115.5 kB / 493.4 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.1207, allocations: 339.2 kB / 493.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1207, allocations: 0 / 493.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1208, allocations: 0 / 493.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1208, allocations: 0 / 493.8 MB, free: 1.637 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.000679/0.1215, allocations: 0.5103 MB / 494.3 MB, free: 1.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1215, allocations: 15.89 kB / 494.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.041e-05/0.1216, allocations: 58.73 kB / 494.4 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.1225, allocations: 88.55 kB / 494.4 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.1228, allocations: 272.4 kB / 494.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1229, allocations: 12.38 kB / 494.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.1229, allocations: 19.94 kB / 494.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.1234, allocations: 326.1 kB / 495.1 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1234, allocations: 8 kB / 495.1 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.1234, allocations: 4 kB / 495.1 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.1235, allocations: 15.98 kB / 495.1 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.1239, allocations: 283.8 kB / 495.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.1256, allocations: 1.293 MB / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.1261, allocations: 213.2 kB / 496.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.1262, allocations: 65.62 kB / 496.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1263, allocations: 4 kB / 496.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1263, allocations: 34.56 kB / 497 MB, free: 14.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1263, allocations: 0 / 497 MB, free: 14.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008797/0.1272, allocations: 435 kB / 497.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.1273, allocations: 81.11 kB / 497.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1274, allocations: 198.6 kB / 497.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1275, allocations: 33.83 kB / 497.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.1276, allocations: 159.8 kB / 497.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.1276, allocations: 47.36 kB / 497.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.1277, allocations: 45.61 kB / 497.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1278, allocations: 330.8 kB / 498.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/0.1279, allocations: 59.89 kB / 498.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.128, allocations: 144.9 kB / 498.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.1283, allocations: 236.6 kB / 498.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1283, allocations: 4 kB / 498.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004222/0.1287, allocations: 258 kB / 499 MB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1288, allocations: 8 kB / 499 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1288, allocations: 4 kB / 499 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.129, allocations: 40.83 kB / 499 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1292, allocations: 39.92 kB / 499 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.1303, allocations: 1.438 MB / 0.4888 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1304, allocations: 12.06 kB / 0.4888 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.1304, allocations: 12 kB / 0.4888 GB, free: 10.32 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.1306, allocations: 161.7 kB / 0.4889 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.1306, allocations: 19.81 kB / 0.489 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.131, allocations: 187.9 kB / 0.4891 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.131, allocations: 4 kB / 0.4891 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.131, allocations: 7.938 kB / 0.4891 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.131, allocations: 0 / 0.4891 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007752/0.1318, allocations: 0.5639 MB / 0.4897 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1318, allocations: 4 kB / 0.4897 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.246e-05/0.1319, allocations: 16 kB / 0.4897 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.1321, allocations: 44.84 kB / 0.4898 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1321, allocations: 4 kB / 0.4898 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009801/0.1331, allocations: 1.422 MB / 0.4911 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1331, allocations: 4.031 kB / 0.4911 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.1335, allocations: 299.5 kB / 0.4914 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.1335, allocations: 92.92 kB / 0.4915 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1336, allocations: 7.984 kB / 0.4915 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1337, allocations: 4 kB / 0.4915 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1337, allocations: 23.86 kB / 0.4916 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1337, allocations: 4 kB / 0.4916 GB, free: 7.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1339, allocations: 144.3 kB / 0.4917 GB, free: 7.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1339, allocations: 0 / 0.4917 GB, free: 7.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.1342, allocations: 48 kB / 0.4917 GB, free: 7.004 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006246/0.1348, allocations: 0.8373 MB / 0.4926 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004399/0.1353, allocations: 263 kB / 0.4928 GB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1353, allocations: 0 / 0.4928 GB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.1355, allocations: 178.6 kB / 0.493 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1359, allocations: 35.59 kB / 0.493 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.1386, allocations: 2.38 MB / 0.4953 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1389, allocations: 0.7632 MB / 0.4961 GB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.139, allocations: 45.5 kB / 0.4961 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/0.1391, allocations: 59.41 kB / 0.4962 GB, free: 2.164 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1392, allocations: 3.938 kB / 0.4962 GB, free: 2.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.1634, allocations: 3.912 MB / 0.5 GB, free: 14.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.383/9.546, allocations: 11.77 kB / 0.5 GB, free: 14.18 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)