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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.002327/0.002327, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.859/1.859, allocations: 194.2 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.001639, allocations: 126.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1668/0.1668, allocations: 37.9 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.111e-05, allocations: 0 / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2499, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.3659, allocations: 88.92 MB / 0.527 GB, free: 4.438 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.3663, allocations: 83.95 kB / 0.5271 GB, free: 4.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2484/0.6147, allocations: 13.13 MB / 0.5399 GB, free: 86.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6147, allocations: 0.6875 kB / 0.5399 GB, free: 86.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.6147, allocations: 7.875 kB / 0.5399 GB, free: 86.04 MB / 378.7 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.0005325/0.6153, allocations: 487 kB / 0.5404 GB, free: 85.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6153, allocations: 9.281 kB / 0.5404 GB, free: 85.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008067/0.6161, allocations: 98.45 kB / 0.5405 GB, free: 85.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.6164, allocations: 262.6 kB / 0.5408 GB, free: 85.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.6165, allocations: 11 kB / 0.5408 GB, free: 85.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.6165, allocations: 21.27 kB / 0.5408 GB, free: 85.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.617, allocations: 301.9 kB / 0.5411 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.617, allocations: 1.094 kB / 0.5411 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.617, allocations: 10.67 kB / 0.5411 GB, free: 85.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.106e-05/0.6171, allocations: 31.33 kB / 0.5411 GB, free: 85.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.6176, allocations: 271.3 kB / 0.5414 GB, free: 84.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.6189, allocations: 1.29 MB / 0.5426 GB, free: 83.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.6192, allocations: 167.7 kB / 0.5428 GB, free: 83.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.6193, allocations: 55.52 kB / 0.5428 GB, free: 83.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.6193, allocations: 5.234 kB / 0.5428 GB, free: 83.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.6193, allocations: 34.56 kB / 0.5429 GB, free: 83.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.6193, allocations: 0 / 0.5429 GB, free: 83.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005335/0.6199, allocations: 273.8 kB / 0.5431 GB, free: 83.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.6199, allocations: 89.03 kB / 0.5432 GB, free: 83.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.62, allocations: 173.9 kB / 0.5434 GB, free: 83.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.62, allocations: 29.61 kB / 0.5434 GB, free: 83.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.6201, allocations: 165.5 kB / 0.5436 GB, free: 83.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.6201, allocations: 43.83 kB / 0.5436 GB, free: 82.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.6201, allocations: 7.719 kB / 0.5436 GB, free: 82.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.6202, allocations: 325.6 kB / 0.5439 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.6203, allocations: 43.42 kB / 0.544 GB, free: 82.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.6204, allocations: 150.6 kB / 0.5441 GB, free: 82.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.569e-05/0.6205, allocations: 81.91 kB / 0.5442 GB, free: 82.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6205, allocations: 3.406 kB / 0.5442 GB, free: 82.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003342/0.6208, allocations: 242.6 kB / 0.5444 GB, free: 82.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6208, allocations: 7.812 kB / 0.5444 GB, free: 82.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6208, allocations: 3.938 kB / 0.5444 GB, free: 82.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.621, allocations: 48 kB / 0.5445 GB, free: 82.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.6212, allocations: 46.78 kB / 0.5445 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007774/0.622, allocations: 1.334 MB / 0.5458 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.6221, allocations: 18.7 kB / 0.5459 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.6221, allocations: 12.59 kB / 0.5459 GB, free: 80.9 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/0.6222, allocations: 128.4 kB / 0.546 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.6223, allocations: 18.53 kB / 0.546 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.6226, allocations: 184.7 kB / 0.5462 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6226, allocations: 0 / 0.5462 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6226, allocations: 7.391 kB / 0.5462 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6226, allocations: 0 / 0.5462 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006249/0.6232, allocations: 0.5398 MB / 0.5467 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6233, allocations: 3.531 kB / 0.5467 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/0.6233, allocations: 28.7 kB / 0.5468 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.6235, allocations: 26.25 kB / 0.5468 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.6235, allocations: 10.42 kB / 0.5468 GB, free: 80.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006014/0.6241, allocations: 1.317 MB / 0.5481 GB, free: 78.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6241, allocations: 7.75 kB / 0.5481 GB, free: 78.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.6244, allocations: 342.1 kB / 0.5484 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.6244, allocations: 92.58 kB / 0.5485 GB, free: 78.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.6245, allocations: 7.938 kB / 0.5485 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.6246, allocations: 7.859 kB / 0.5485 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.6246, allocations: 11.8 kB / 0.5485 GB, free: 78.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.6246, allocations: 3.844 kB / 0.5485 GB, free: 78.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.558e-05/0.6247, allocations: 145.8 kB / 0.5487 GB, free: 78.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6247, allocations: 0 / 0.5487 GB, free: 78.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000326/0.625, allocations: 56.03 kB / 0.5487 GB, free: 78.21 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001113/0.6251, allocations: 106 kB / 0.5488 GB, free: 78.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.6256, allocations: 268.8 kB / 0.5491 GB, free: 77.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6256, allocations: 0 / 0.5491 GB, free: 77.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.6257, allocations: 172.5 kB / 0.5492 GB, free: 77.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.626, allocations: 27.39 kB / 0.5493 GB, free: 77.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.6264, allocations: 294.6 kB / 0.5495 GB, free: 77.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.6266, allocations: 0.7692 MB / 0.5503 GB, free: 76.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.916e-05/0.6267, allocations: 36.95 kB / 0.5503 GB, free: 76.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.6268, allocations: 18.66 kB / 0.5504 GB, free: 76.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6268, allocations: 0 / 0.5504 GB, free: 76.8 MB / 378.7 MB Notification: Performance of Templates: time 0.003474/0.6302, allocations: 1.54 MB / 0.5519 GB, free: 75.84 MB / 378.7 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)