Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001372/0.001372, allocations: 196 kB / 18 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.177/0.177, allocations: 38.04 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4035, allocations: 58.06 MB / 0.5041 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004377/0.4079, allocations: 3.421 MB / 0.5074 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.4097, allocations: 1.455 MB / 0.5089 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.4098, allocations: 8.25 kB / 0.5089 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007696/0.4106, allocations: 252.6 kB / 0.5091 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005344/0.4111, allocations: 279.5 kB / 0.5094 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.4114, allocations: 118.5 kB / 0.5095 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.4118, allocations: 343.1 kB / 0.5098 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.4121, allocations: 140.3 kB / 0.5099 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.4123, allocations: 148.6 kB / 0.5101 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.4125, allocations: 151.8 kB / 0.5102 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.4126, allocations: 14.06 kB / 0.5102 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004657/0.413, allocations: 308.3 kB / 0.5105 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.4132, allocations: 94.66 kB / 0.5106 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.4133, allocations: 107.4 kB / 0.5107 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.4138, allocations: 345.3 kB / 0.5111 GB, free: 3.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4138, allocations: 0.75 kB / 0.5111 GB, free: 3.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4138, allocations: 3.938 kB / 0.5111 GB, free: 3.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.4138, allocations: 1.375 kB / 0.5111 GB, free: 3.316 MB / 382.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.0006163/0.4144, allocations: 0.5139 MB / 0.5116 GB, free: 2.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4145, allocations: 13.92 kB / 0.5116 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.4153, allocations: 90 kB / 0.5117 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.4157, allocations: 266.3 kB / 0.5119 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.4157, allocations: 19.94 kB / 0.5119 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.4157, allocations: 28.78 kB / 0.512 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.4162, allocations: 305.6 kB / 0.5123 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4162, allocations: 3.938 kB / 0.5123 GB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.4163, allocations: 11.09 kB / 0.5123 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.4163, allocations: 15.42 kB / 0.5123 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.4167, allocations: 291.1 kB / 0.5126 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.4181, allocations: 1.294 MB / 0.5138 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.4185, allocations: 234.6 kB / 0.5141 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.4186, allocations: 56.5 kB / 0.5141 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4186, allocations: 6.031 kB / 0.5141 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.4187, allocations: 36.69 kB / 0.5141 GB, free: 1.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.4187, allocations: 0 / 0.5141 GB, free: 1.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006013/0.4193, allocations: 298.2 kB / 0.5144 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.4193, allocations: 79.2 kB / 0.5145 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.4195, allocations: 190.4 kB / 0.5147 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.4195, allocations: 29.7 kB / 0.5147 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.4196, allocations: 167.7 kB / 0.5149 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.4196, allocations: 53.28 kB / 0.5149 GB, free: 456 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.4197, allocations: 41.8 kB / 0.515 GB, free: 428 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.965e-05/0.4198, allocations: 328.6 kB / 0.5153 GB, free: 100 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.4198, allocations: 45.59 kB / 0.5153 GB, free: 88 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.42, allocations: 150 kB / 0.5155 GB, free: 15.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.4203, allocations: 221.7 kB / 0.5157 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4203, allocations: 1.438 kB / 0.5157 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003458/0.4206, allocations: 226.2 kB / 0.5159 GB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4206, allocations: 10.69 kB / 0.5159 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4207, allocations: 3.906 kB / 0.5159 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.4207, allocations: 4.594 kB / 0.5159 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.4209, allocations: 49.03 kB / 0.516 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4209, allocations: 5.562 kB / 0.516 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/0.421, allocations: 4.625 kB / 0.516 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.421, allocations: 14.25 kB / 0.516 GB, free: 15.63 MB / 398.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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002319/0.4212, allocations: 153 kB / 0.5161 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.4213, allocations: 23.83 kB / 0.5162 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.4216, allocations: 160.2 kB / 0.5163 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4216, allocations: 1.75 kB / 0.5163 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4216, allocations: 1.094 kB / 0.5163 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4216, allocations: 1.844 kB / 0.5163 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4227, allocations: 0.6588 MB / 0.517 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.4228, allocations: 4.062 kB / 0.517 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.4229, allocations: 32.55 kB / 0.517 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/0.4229, allocations: 9.688 kB / 0.517 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.423, allocations: 12.91 kB / 0.517 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.423, allocations: 5.812 kB / 0.517 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.423, allocations: 7.719 kB / 0.517 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.4235, allocations: 343 kB / 0.5173 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.4236, allocations: 99.12 kB / 0.5174 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.4236, allocations: 10.81 kB / 0.5175 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.4238, allocations: 8.281 kB / 0.5175 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.4238, allocations: 26.94 kB / 0.5175 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.4238, allocations: 8.766 kB / 0.5175 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.424, allocations: 142.9 kB / 0.5176 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.424, allocations: 0 / 0.5176 GB, free: 14.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.4244, allocations: 46.88 kB / 0.5177 GB, free: 14.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.4246, allocations: 99.66 kB / 0.5178 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.425, allocations: 148.6 kB / 0.5179 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.425, allocations: 0.5 kB / 0.5179 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.4252, allocations: 63.66 kB / 0.518 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.4257, allocations: 38.34 kB / 0.518 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.4266, allocations: 0.5012 MB / 0.5185 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.4272, allocations: 0.7558 MB / 0.5192 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.4274, allocations: 47.23 kB / 0.5193 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.4274, allocations: 18.5 kB / 0.5193 GB, free: 13.05 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4274, allocations: 0 / 0.5193 GB, free: 13.05 MB / 398.1 MB Notification: Performance of Templates: time 0.004874/0.4323, allocations: 1.363 MB / 0.5206 GB, free: 12.91 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)