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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001519/0.001519, allocations: 190.8 kB / 8.138 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.463/1.463, allocations: 194.2 MB / 202.8 MB, free: 8.66 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.001705/0.001705, allocations: 118.2 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1758/0.1758, allocations: 37.91 MB / 330.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.464e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 53.23 MB / 443 MB, free: 24.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3443/0.4654, allocations: 88.22 MB / 0.5188 GB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4657, allocations: 81.42 kB / 0.5189 GB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03362/0.4994, allocations: 12.73 MB / 0.5313 GB, free: 5.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.4994, allocations: 3.25 kB / 0.5313 GB, free: 5.793 MB / 346.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.0008176/0.5003, allocations: 480.3 kB / 0.5318 GB, free: 5.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5003, allocations: 12.66 kB / 0.5318 GB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.5014, allocations: 98.91 kB / 0.5319 GB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.5019, allocations: 269.7 kB / 0.5321 GB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.5019, allocations: 5.688 kB / 0.5321 GB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.502, allocations: 10.38 kB / 0.5321 GB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003976/0.5024, allocations: 201.1 kB / 0.5323 GB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.5028, allocations: 290.5 kB / 0.5326 GB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.5029, allocations: 1.062 kB / 0.5326 GB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.5029, allocations: 1.219 kB / 0.5326 GB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.654e-05/0.503, allocations: 26.94 kB / 0.5326 GB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.5047, allocations: 1.253 MB / 0.5339 GB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.505, allocations: 163.8 kB / 0.534 GB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.477e-05/0.5051, allocations: 47.94 kB / 0.5341 GB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.5051, allocations: 6.359 kB / 0.5341 GB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.5052, allocations: 39.44 kB / 0.5341 GB, free: 3.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.5052, allocations: 0 / 0.5341 GB, free: 3.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007235/0.5059, allocations: 262.5 kB / 0.5344 GB, free: 3.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.506, allocations: 83.52 kB / 0.5344 GB, free: 3.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.5061, allocations: 159.5 kB / 0.5346 GB, free: 3.488 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.5062, allocations: 25.7 kB / 0.5346 GB, free: 3.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.5062, allocations: 153.2 kB / 0.5348 GB, free: 3.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.5063, allocations: 49.61 kB / 0.5348 GB, free: 3.289 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.5063, allocations: 0 / 0.5348 GB, free: 3.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.5064, allocations: 325.9 kB / 0.5351 GB, free: 2.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.5065, allocations: 52.78 kB / 0.5352 GB, free: 2.961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.5066, allocations: 139 kB / 0.5353 GB, free: 2.828 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.5067, allocations: 77.8 kB / 0.5354 GB, free: 2.809 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.5067, allocations: 5.156 kB / 0.5354 GB, free: 2.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004318/0.5072, allocations: 224.3 kB / 0.5356 GB, free: 2.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5072, allocations: 5.812 kB / 0.5356 GB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5072, allocations: 3.531 kB / 0.5356 GB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/0.5075, allocations: 41.08 kB / 0.5356 GB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.5076, allocations: 47.06 kB / 0.5357 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009372/0.5086, allocations: 1.276 MB / 0.5369 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.5087, allocations: 8.062 kB / 0.5369 GB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.5088, allocations: 9.562 kB / 0.537 GB, free: 1.438 MB / 346.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 7.954e-05/0.5088, allocations: 118.2 kB / 0.5371 GB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.5089, allocations: 20.16 kB / 0.5371 GB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.5093, allocations: 164.1 kB / 0.5372 GB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5093, allocations: 6.438 kB / 0.5372 GB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5093, allocations: 4.844 kB / 0.5373 GB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5093, allocations: 0.6875 kB / 0.5373 GB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.51, allocations: 0.5165 MB / 0.5378 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.51, allocations: 0 / 0.5378 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.5101, allocations: 16 kB / 0.5378 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.5102, allocations: 36.86 kB / 0.5378 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.5102, allocations: 0 / 0.5378 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009156/0.5112, allocations: 1.262 MB / 0.539 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.5112, allocations: 0 / 0.539 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003985/0.5116, allocations: 325.4 kB / 0.5394 GB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.5117, allocations: 92.92 kB / 0.5394 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.5117, allocations: 0 / 0.5394 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.5118, allocations: 7.906 kB / 0.5394 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.5119, allocations: 15.86 kB / 0.5395 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.5119, allocations: 15.25 kB / 0.5395 GB, free: 14.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001078/0.512, allocations: 126.3 kB / 0.5396 GB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004248/0.5124, allocations: 44 kB / 0.5396 GB, free: 14.73 MB / 362.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.0001475/0.5126, allocations: 103.2 kB / 0.5397 GB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.5131, allocations: 248.9 kB / 0.54 GB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5131, allocations: 0 / 0.54 GB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.5133, allocations: 155.9 kB / 0.5401 GB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.5136, allocations: 22.67 kB / 0.5401 GB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.5142, allocations: 293.4 kB / 0.5404 GB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/0.5146, allocations: 0.7774 MB / 0.5412 GB, free: 13.14 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5146, allocations: 3.938 kB / 0.5412 GB, free: 13.14 MB / 362.7 MB Notification: Performance of Templates: time 0.004572/0.5192, allocations: 1.621 MB / 0.5428 GB, free: 11.54 MB / 362.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)