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/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.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") [: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.001282/0.001282, allocations: 189.2 kB / 8.135 MB, free: 2.215 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.4/1.4, allocations: 194.2 MB / 202.8 MB, free: 8.75 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.001728/0.001728, allocations: 121.9 kB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1664/0.1664, allocations: 37.9 MB / 330.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.552e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 53.23 MB / 443 MB, free: 25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3409/0.4526, allocations: 88.23 MB / 0.5188 GB, free: 10.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.4529, allocations: 80.27 kB / 0.5189 GB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03391/0.4868, allocations: 12.74 MB / 0.5313 GB, free: 5.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.4869, allocations: 3.281 kB / 0.5313 GB, free: 5.688 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.0008525/0.4878, allocations: 493.4 kB / 0.5318 GB, free: 5.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4878, allocations: 8.656 kB / 0.5318 GB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.4889, allocations: 91.14 kB / 0.5319 GB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.4894, allocations: 261.6 kB / 0.5321 GB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.4895, allocations: 5.656 kB / 0.5321 GB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.4895, allocations: 10.84 kB / 0.5322 GB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003956/0.4899, allocations: 203.8 kB / 0.5323 GB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.4904, allocations: 289.4 kB / 0.5326 GB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4904, allocations: 3.938 kB / 0.5326 GB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.4904, allocations: 5.266 kB / 0.5326 GB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.467e-05/0.4905, allocations: 20.05 kB / 0.5326 GB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.4921, allocations: 1.25 MB / 0.5339 GB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.4924, allocations: 140.5 kB / 0.534 GB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.4925, allocations: 48.05 kB / 0.534 GB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.4925, allocations: 1.312 kB / 0.5341 GB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.4926, allocations: 35.78 kB / 0.5341 GB, free: 3.727 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.4926, allocations: 0.9688 kB / 0.5341 GB, free: 3.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005872/0.4932, allocations: 225.6 kB / 0.5343 GB, free: 3.621 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.4932, allocations: 87.11 kB / 0.5344 GB, free: 3.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.4934, allocations: 154.5 kB / 0.5345 GB, free: 3.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.4934, allocations: 25.7 kB / 0.5346 GB, free: 3.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.4935, allocations: 157.2 kB / 0.5347 GB, free: 3.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.4935, allocations: 49.48 kB / 0.5348 GB, free: 3.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.4935, allocations: 0 / 0.5348 GB, free: 3.207 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.4936, allocations: 326.1 kB / 0.5351 GB, free: 2.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.4937, allocations: 41.08 kB / 0.5351 GB, free: 2.887 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.4938, allocations: 147.1 kB / 0.5352 GB, free: 2.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.4939, allocations: 63.77 kB / 0.5353 GB, free: 2.734 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4939, allocations: 1.469 kB / 0.5353 GB, free: 2.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003077/0.4942, allocations: 200.7 kB / 0.5355 GB, free: 2.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4943, allocations: 4.719 kB / 0.5355 GB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4943, allocations: 2.812 kB / 0.5355 GB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4943, allocations: 5.719 kB / 0.5355 GB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.4945, allocations: 53.81 kB / 0.5356 GB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.4945, allocations: 12.83 kB / 0.5356 GB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.4947, allocations: 7.906 kB / 0.5356 GB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.4947, allocations: 9.25 kB / 0.5356 GB, free: 2.625 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.001e-05/0.4948, allocations: 111 kB / 0.5357 GB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.4948, allocations: 15.53 kB / 0.5357 GB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.4951, allocations: 138 kB / 0.5358 GB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4951, allocations: 13.97 kB / 0.5359 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4951, allocations: 5.062 kB / 0.5359 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4951, allocations: 1.062 kB / 0.5359 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008176/0.496, allocations: 0.7638 MB / 0.5366 GB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.496, allocations: 3.219 kB / 0.5366 GB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.4961, allocations: 28.58 kB / 0.5366 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.4961, allocations: 4.5 kB / 0.5366 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.4961, allocations: 4.844 kB / 0.5366 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.4962, allocations: 8.406 kB / 0.5367 GB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.4962, allocations: 12.47 kB / 0.5367 GB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003226/0.4965, allocations: 477 kB / 0.5371 GB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.4966, allocations: 94.11 kB / 0.5372 GB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.4966, allocations: 6.625 kB / 0.5372 GB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.4968, allocations: 11.56 kB / 0.5372 GB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.4968, allocations: 22.56 kB / 0.5372 GB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.4968, allocations: 9.812 kB / 0.5373 GB, free: 1.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.892e-05/0.4969, allocations: 127 kB / 0.5374 GB, free: 1.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.4973, allocations: 40 kB / 0.5374 GB, free: 0.9727 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.4974, allocations: 111.1 kB / 0.5375 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.4976, allocations: 118.7 kB / 0.5376 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4976, allocations: 0 / 0.5376 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.4977, allocations: 60.67 kB / 0.5377 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.498, allocations: 34.5 kB / 0.5377 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.4986, allocations: 344.2 kB / 0.5381 GB, free: 324 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.499, allocations: 0.7875 MB / 0.5388 GB, free: 15.51 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.499, allocations: 0 / 0.5388 GB, free: 15.51 MB / 362.7 MB Notification: Performance of Templates: time 0.004149/0.5031, allocations: 1.342 MB / 0.5401 GB, free: 14.2 MB / 362.7 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)