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.001008/0.001008, allocations: 103.2 kB / 17.06 MB, free: 6.145 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.00108/0.00108, allocations: 195 kB / 18 MB, free: 5.219 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.289/1.289, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1733/0.1733, allocations: 37.98 MB / 309.2 MB, free: 5.961 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.001434/0.001434, allocations: 67.89 kB / 431.4 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08691/0.08835, allocations: 55.25 MB / 486.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00506/0.09346, allocations: 3.441 MB / 490 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.09557, allocations: 1.485 MB / 491.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.09577, allocations: 4 kB / 491.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008319/0.09665, allocations: 262.9 kB / 491.8 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006347/0.09729, allocations: 279 kB / 492.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.09762, allocations: 115.7 kB / 492.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.09803, allocations: 331.1 kB / 492.5 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.09831, allocations: 126.5 kB / 492.6 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.09859, allocations: 151.4 kB / 492.8 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.09884, allocations: 159.4 kB / 492.9 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.09888, allocations: 16 kB / 492.9 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005012/0.09939, allocations: 315.2 kB / 493.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.09952, allocations: 95.75 kB / 493.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.09964, allocations: 107.5 kB / 493.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.1002, allocations: 347.2 kB / 493.8 MB, free: 1.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1002, allocations: 0 / 493.8 MB, free: 1.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1002, allocations: 0 / 493.8 MB, free: 1.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1002, allocations: 4 kB / 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.0006884/0.1009, allocations: 0.5064 MB / 494.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1009, allocations: 11.89 kB / 494.3 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.101, allocations: 58.72 kB / 494.4 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008666/0.1019, allocations: 92.55 kB / 494.5 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.1023, allocations: 260.5 kB / 494.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1023, allocations: 12.38 kB / 494.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.1023, allocations: 27.92 kB / 494.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.1028, allocations: 322.2 kB / 495.1 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1028, allocations: 0 / 495.1 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.1029, allocations: 8 kB / 495.1 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.1029, allocations: 19.98 kB / 495.1 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.1033, allocations: 287.8 kB / 495.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.1051, allocations: 1.293 MB / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.1056, allocations: 201.2 kB / 496.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.1057, allocations: 69.69 kB / 496.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1058, allocations: 0 / 496.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1058, allocations: 34.56 kB / 497 MB, free: 14.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1058, allocations: 0 / 497 MB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008749/0.1067, allocations: 434.8 kB / 497.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.1068, allocations: 81.23 kB / 497.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1069, allocations: 198.6 kB / 497.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.107, allocations: 29.7 kB / 497.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.1071, allocations: 159.8 kB / 497.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.1072, allocations: 43.34 kB / 497.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.1072, allocations: 49.61 kB / 497.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1074, allocations: 334.8 kB / 498.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.788e-05/0.1075, allocations: 55.91 kB / 498.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1076, allocations: 148.8 kB / 498.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.1079, allocations: 236.7 kB / 498.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1079, allocations: 0 / 498.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004274/0.1083, allocations: 262 kB / 498.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1084, allocations: 4 kB / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1084, allocations: 4 kB / 499 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.1086, allocations: 45.25 kB / 499 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1088, allocations: 39.92 kB / 499 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.1099, allocations: 1.453 MB / 0.4888 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.11, allocations: 4 kB / 0.4888 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.1101, allocations: 12 kB / 0.4888 GB, free: 10.34 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.000163/0.1102, allocations: 157.7 kB / 0.4889 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.1103, allocations: 19.75 kB / 0.4889 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.1106, allocations: 192.6 kB / 0.4891 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1107, allocations: 4 kB / 0.4891 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1107, allocations: 0 / 0.4891 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1107, allocations: 0 / 0.4891 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007946/0.1115, allocations: 0.5679 MB / 0.4897 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1115, allocations: 0 / 0.4897 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-05/0.1116, allocations: 16 kB / 0.4897 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/0.1117, allocations: 40.7 kB / 0.4897 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1118, allocations: 7.984 kB / 0.4897 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.1128, allocations: 1.426 MB / 0.4911 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1128, allocations: 0 / 0.4911 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.1132, allocations: 307.5 kB / 0.4914 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.1133, allocations: 88.92 kB / 0.4915 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1133, allocations: 11.98 kB / 0.4915 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.1134, allocations: 4 kB / 0.4915 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.1135, allocations: 19.92 kB / 0.4916 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.1135, allocations: 4 kB / 0.4916 GB, free: 7.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1136, allocations: 140.3 kB / 0.4917 GB, free: 7.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1136, allocations: 4 kB / 0.4917 GB, free: 7.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003487/0.114, allocations: 52 kB / 0.4917 GB, free: 7.016 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.0006483/0.1146, allocations: 0.8295 MB / 0.4926 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004717/0.1151, allocations: 266.5 kB / 0.4928 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1151, allocations: 0 / 0.4928 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.1154, allocations: 178.5 kB / 0.493 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1157, allocations: 53.53 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.002556/0.1183, allocations: 2.367 MB / 0.4953 GB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1187, allocations: 0.7593 MB / 0.4961 GB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1188, allocations: 41.45 kB / 0.4961 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.1189, allocations: 63.41 kB / 0.4962 GB, free: 2.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1189, allocations: 3.938 kB / 0.4962 GB, free: 2.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.1414, allocations: 3.916 MB / 0.5 GB, free: 14.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.14/9.282, allocations: 15.77 kB / 0.5 GB, free: 14.19 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)