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: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001145/0.001145, allocations: 185.4 kB / 18.68 MB, free: 4.434 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 / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1812/0.1812, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001408/0.001408, allocations: 75.89 kB / 432.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09155, allocations: 55.24 MB / 487.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004585/0.09617, allocations: 3.435 MB / 491.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.09825, allocations: 1.493 MB / 492.7 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.09842, allocations: 7.938 kB / 492.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008065/0.09924, allocations: 259.5 kB / 493 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006026/0.09985, allocations: 282.9 kB / 493.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1002, allocations: 107.7 kB / 493.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.1006, allocations: 339.1 kB / 493.7 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.1009, allocations: 129.9 kB / 493.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.1012, allocations: 151.4 kB / 494 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.1014, allocations: 151.5 kB / 494.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.1014, allocations: 20 kB / 494.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.1019, allocations: 311.2 kB / 494.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1021, allocations: 95.75 kB / 494.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1022, allocations: 107.5 kB / 494.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.1027, allocations: 346.9 kB / 495 MB, free: 1.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1027, allocations: 0 / 495 MB, free: 1.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1027, allocations: 0 / 495 MB, free: 1.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1027, allocations: 0 / 495 MB, free: 1.238 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.0006826/0.1034, allocations: 0.5026 MB / 495.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1034, allocations: 15.89 kB / 495.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/0.1043, allocations: 100.4 kB / 495.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.1046, allocations: 256.5 kB / 495.8 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1047, allocations: 16.38 kB / 495.8 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.1047, allocations: 24.11 kB / 495.9 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.1052, allocations: 330.2 kB / 496.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1052, allocations: 0 / 496.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.1053, allocations: 7.938 kB / 496.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.1053, allocations: 16 kB / 496.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.1057, allocations: 287.8 kB / 496.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.1074, allocations: 1.293 MB / 497.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.1079, allocations: 201.2 kB / 498 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.108, allocations: 57.7 kB / 498 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1081, allocations: 7.938 kB / 498.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1081, allocations: 42.55 kB / 498.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1081, allocations: 0 / 498.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009065/0.109, allocations: 434.4 kB / 498.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1091, allocations: 81.11 kB / 498.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1093, allocations: 198.7 kB / 498.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1093, allocations: 29.7 kB / 498.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.1094, allocations: 163.8 kB / 499 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.1094, allocations: 47.36 kB / 499 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.1095, allocations: 45.61 kB / 499.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1096, allocations: 326.8 kB / 499.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.369e-05/0.1097, allocations: 55.91 kB / 499.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.1099, allocations: 148.8 kB / 499.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.1102, allocations: 228.6 kB / 499.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1102, allocations: 7.938 kB / 499.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004394/0.1106, allocations: 262.6 kB / 0.4884 GB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1106, allocations: 8 kB / 0.4884 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1107, allocations: 4 kB / 0.4884 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.1109, allocations: 36.83 kB / 0.4884 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1111, allocations: 43.92 kB / 0.4884 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.1122, allocations: 1.446 MB / 0.4899 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1123, allocations: 11.98 kB / 0.4899 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1123, allocations: 12 kB / 0.4899 GB, free: 9.996 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.0001346/0.1125, allocations: 157.7 kB / 0.49 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.1125, allocations: 19.75 kB / 0.49 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.1129, allocations: 187.9 kB / 0.4902 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1129, allocations: 0 / 0.4902 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1129, allocations: 4.062 kB / 0.4902 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.113, allocations: 92.92 kB / 0.4903 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.113, allocations: 4 kB / 0.4903 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1131, allocations: 11.92 kB / 0.4903 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.1131, allocations: 11.92 kB / 0.4903 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003953/0.1135, allocations: 344.8 kB / 0.4907 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003608/0.1139, allocations: 445.8 kB / 0.4911 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.954e-05/0.114, allocations: 48 kB / 0.4911 GB, free: 8.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1142, allocations: 144.2 kB / 0.4913 GB, free: 8.492 MB / 382.1 MB Notification: Performance of Backend: time 6.01e-07/0.1142, allocations: 0 / 0.4913 GB, free: 8.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.1153, allocations: 452.7 kB / 0.4917 GB, free: 8.031 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009085/0.1163, allocations: 0.8724 MB / 0.4926 GB, free: 7.102 MB / 382.1 MB Notification: Performance of Templates: time 0.006389/0.1227, allocations: 3.004 MB / 0.4955 GB, free: 4.094 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (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 & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)