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.001271/0.001271, allocations: 104.8 kB / 17.69 MB, free: 5.492 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.001289/0.001289, allocations: 188.8 kB / 18.63 MB, free: 4.566 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.29/1.29, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1685/0.1685, allocations: 37.98 MB / 309.8 MB, free: 5.969 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.001358/0.001358, allocations: 71.02 kB / 432.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.09514, allocations: 55.24 MB / 487.7 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004516/0.09969, allocations: 3.439 MB / 491.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1015, allocations: 1.485 MB / 492.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1016, allocations: 11.94 kB / 492.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007261/0.1023, allocations: 251 kB / 492.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.1028, allocations: 282.9 kB / 493.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1031, allocations: 111.7 kB / 493.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.1034, allocations: 335 kB / 493.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.1037, allocations: 137.9 kB / 493.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.104, allocations: 143.4 kB / 493.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1042, allocations: 151.5 kB / 494 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.1042, allocations: 16 kB / 494 MB, free: 2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.1047, allocations: 307.2 kB / 494.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1048, allocations: 99.75 kB / 494.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1049, allocations: 107.5 kB / 494.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.1053, allocations: 343 kB / 494.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1053, allocations: 0 / 494.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1054, allocations: 0 / 494.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1054, allocations: 3.938 kB / 494.9 MB, free: 1.156 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.0006467/0.106, allocations: 0.5104 MB / 495.4 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1061, allocations: 11.89 kB / 495.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008514/0.1069, allocations: 92.55 kB / 495.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.1072, allocations: 264.4 kB / 495.8 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1073, allocations: 12.38 kB / 495.8 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.1073, allocations: 24.12 kB / 495.8 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.1078, allocations: 326.2 kB / 496.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1078, allocations: 3.938 kB / 496.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.1078, allocations: 4 kB / 496.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.1079, allocations: 23.98 kB / 496.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.1083, allocations: 283.8 kB / 496.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1098, allocations: 1.285 MB / 497.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.1103, allocations: 205.2 kB / 497.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.1104, allocations: 57.75 kB / 498 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1105, allocations: 15.88 kB / 498 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1105, allocations: 34.62 kB / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1105, allocations: 0 / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009266/0.1114, allocations: 434.9 kB / 498.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.1115, allocations: 77.11 kB / 498.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1117, allocations: 202.8 kB / 498.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1117, allocations: 29.64 kB / 498.7 MB, free: 13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1118, allocations: 167.8 kB / 498.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.1119, allocations: 43.36 kB / 498.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.112, allocations: 45.61 kB / 499 MB, free: 12.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1121, allocations: 330.8 kB / 499.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.1122, allocations: 67.89 kB / 499.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1123, allocations: 144.8 kB / 499.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.1126, allocations: 225.2 kB / 499.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1126, allocations: 4 kB / 499.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004119/0.113, allocations: 265.9 kB / 0.4883 GB, free: 11.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.113, allocations: 8 kB / 0.4883 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1131, allocations: 4 kB / 0.4883 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/0.1133, allocations: 36.83 kB / 0.4883 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1134, allocations: 44.3 kB / 0.4884 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.1147, allocations: 1.445 MB / 0.4898 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1148, allocations: 12.03 kB / 0.4898 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1148, allocations: 8 kB / 0.4898 GB, free: 9.914 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.0001432/0.115, allocations: 161.7 kB / 0.49 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.115, allocations: 19.75 kB / 0.49 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.1154, allocations: 196.1 kB / 0.4902 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1154, allocations: 4 kB / 0.4902 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1154, allocations: 3.938 kB / 0.4902 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1154, allocations: 0 / 0.4902 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/0.1161, allocations: 0.5679 MB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1161, allocations: 4.094 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.1162, allocations: 16 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.1164, allocations: 32.83 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1164, allocations: 3.938 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.1175, allocations: 1.43 MB / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1175, allocations: 0 / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.1179, allocations: 303.5 kB / 0.4925 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.1179, allocations: 88.92 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.118, allocations: 11.98 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.1181, allocations: 0 / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.1181, allocations: 27.86 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.1181, allocations: 4 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1182, allocations: 140.3 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1182, allocations: 0 / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.1186, allocations: 56 kB / 0.4928 GB, free: 6.586 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.0001033/0.1187, allocations: 91.25 kB / 0.4929 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004585/0.1191, allocations: 274.4 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1192, allocations: 0 / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.1194, allocations: 174.6 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1197, allocations: 36.86 kB / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/0.1205, allocations: 492.6 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1208, allocations: 0.7593 MB / 0.4945 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.1209, allocations: 19.44 kB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1209, allocations: 0 / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of Templates: time 0.004644/0.1255, allocations: 3.154 MB / 0.4976 GB, free: 1.492 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)