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.0007884/0.0007883, allocations: 92.03 kB / 16.65 MB, free: 6.586 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.000842/0.000842, allocations: 182 kB / 17.56 MB, free: 6.203 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.564/1.564, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1724/0.1724, allocations: 38.06 MB / 310.1 MB, free: 5.914 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.0006159/0.0006159, allocations: 15.12 kB / 377.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3063, allocations: 56.33 MB / 433.5 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003201/0.3096, allocations: 3.314 MB / 436.8 MB, free: 15.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3111, allocations: 1.525 MB / 438.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.3113, allocations: 11.94 kB / 438.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.3115, allocations: 35.77 kB / 438.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006165/0.3121, allocations: 267.1 kB / 438.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.3124, allocations: 91.81 kB / 438.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.3129, allocations: 0.5651 MB / 439.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005762/0.3135, allocations: 326.8 kB / 439.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.3137, allocations: 127.4 kB / 439.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3139, allocations: 147.5 kB / 439.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3139, allocations: 8 kB / 439.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000438/0.3143, allocations: 375.1 kB / 440.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.3144, allocations: 99.75 kB / 440.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.653e-05/0.3145, allocations: 117.2 kB / 440.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.3149, allocations: 354.9 kB / 440.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3149, allocations: 4 kB / 440.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3149, allocations: 0 / 440.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3149, allocations: 0 / 440.8 MB, free: 11.28 MB / 318.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.0005381/0.3154, allocations: 486.6 kB / 441.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3155, allocations: 15.97 kB / 441.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.3163, allocations: 92.55 kB / 441.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.3165, allocations: 260.4 kB / 441.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.3165, allocations: 12.38 kB / 441.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.3166, allocations: 23.92 kB / 441.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.317, allocations: 318.3 kB / 442 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.317, allocations: 0 / 442 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.317, allocations: 8 kB / 442 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.3171, allocations: 15.98 kB / 442 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.3174, allocations: 291.7 kB / 442.3 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.3186, allocations: 1.305 MB / 443.6 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.3191, allocations: 213.2 kB / 443.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.3192, allocations: 61.69 kB / 443.9 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.3192, allocations: 4 kB / 443.9 MB, free: 7.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.3193, allocations: 30.56 kB / 443.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3193, allocations: 0 / 443.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007675/0.32, allocations: 441.7 kB / 444.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.3201, allocations: 81.11 kB / 444.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3202, allocations: 194.2 kB / 444.6 MB, free: 7.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3203, allocations: 33.7 kB / 444.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.3203, allocations: 155.8 kB / 444.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.3204, allocations: 51.33 kB / 444.8 MB, free: 6.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.3204, allocations: 25.84 kB / 444.9 MB, free: 6.906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.3205, allocations: 330.8 kB / 445.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.335e-05/0.3206, allocations: 55.95 kB / 445.3 MB, free: 6.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.813e-05/0.3207, allocations: 148.8 kB / 445.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.3209, allocations: 232.6 kB / 445.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3209, allocations: 0 / 445.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003449/0.3212, allocations: 257.9 kB / 445.9 MB, free: 5.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3212, allocations: 8.438 kB / 445.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3212, allocations: 4 kB / 445.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.3215, allocations: 44.83 kB / 445.9 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3216, allocations: 39.92 kB / 446 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007762/0.3224, allocations: 1.335 MB / 447.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3225, allocations: 8 kB / 447.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3225, allocations: 15.98 kB / 447.3 MB, free: 4.203 MB / 318.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.0001028/0.3226, allocations: 149.8 kB / 447.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.3227, allocations: 23.91 kB / 447.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.323, allocations: 191.9 kB / 447.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.323, allocations: 64 / 447.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.323, allocations: 8 kB / 447.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.323, allocations: 7.969 kB / 447.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.3236, allocations: 0.5562 MB / 448.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3236, allocations: 4 kB / 448.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.3237, allocations: 23.92 kB / 448.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.3238, allocations: 32.83 kB / 448.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3239, allocations: 4 kB / 448.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006817/0.3245, allocations: 1.323 MB / 449.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3246, allocations: 4.031 kB / 449.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.3249, allocations: 299.5 kB / 449.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.3249, allocations: 96.92 kB / 450 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3249, allocations: 8 kB / 450 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.325, allocations: 7.984 kB / 450.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.3251, allocations: 11.98 kB / 450.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3251, allocations: 4 kB / 450.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.384e-05/0.3252, allocations: 148.1 kB / 450.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3252, allocations: 0 / 450.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.3255, allocations: 48 kB / 450.3 MB, free: 1.004 MB / 318.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.0001196/0.3257, allocations: 107.2 kB / 450.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003946/0.3261, allocations: 258.4 kB / 450.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3261, allocations: 0 / 450.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3263, allocations: 187.2 kB / 450.8 MB, free: 444 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.3267, allocations: 32.17 kB / 450.8 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.3274, allocations: 0.5415 MB / 451.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.3277, allocations: 0.7518 MB / 452.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.3279, allocations: 53.48 kB / 452.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.3279, allocations: 15.44 kB / 452.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3279, allocations: 0 / 452.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of Templates: time 0.004989/0.3329, allocations: 1.576 MB / 453.8 MB, free: 13.4 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: