Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001278/0.001278, allocations: 191.9 kB / 17.27 MB, free: 4.5 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.245/1.245, allocations: 194.2 MB / 212.2 MB, free: 2.363 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.001766/0.001766, allocations: 114.4 kB / 256.6 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1747/0.1747, allocations: 37.95 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 71.89 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08415/0.0853, allocations: 52.18 MB / 454 MB, free: 16.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003889/0.08926, allocations: 3.7 MB / 457.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.09077, allocations: 1.602 MB / 459.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.09088, allocations: 11.94 kB / 459.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.09152, allocations: 247.1 kB / 459.5 MB, free: 11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.0919, allocations: 259.2 kB / 459.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.0921, allocations: 111.7 kB / 459.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.09245, allocations: 0.5728 MB / 460.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.09271, allocations: 130.1 kB / 460.6 MB, free: 9.934 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.09287, allocations: 135.4 kB / 460.7 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.09305, allocations: 167.4 kB / 460.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.09308, allocations: 11.94 kB / 460.9 MB, free: 9.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.09347, allocations: 407 kB / 461.3 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.09356, allocations: 95.75 kB / 461.4 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.345e-05/0.09365, allocations: 103.4 kB / 461.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.09399, allocations: 378.8 kB / 461.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.094, allocations: 0 / 461.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.09401, allocations: 0 / 461.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.09402, allocations: 8 kB / 461.9 MB, free: 8.652 MB / 314.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.0005366/0.09456, allocations: 0.5103 MB / 462.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.0946, allocations: 8.031 kB / 462.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007331/0.09534, allocations: 100.5 kB / 462.5 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.09561, allocations: 259.6 kB / 462.7 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.09564, allocations: 12.38 kB / 462.8 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.09568, allocations: 24.3 kB / 462.8 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.09604, allocations: 321.6 kB / 463.1 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.09607, allocations: 3.984 kB / 463.1 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.09609, allocations: 8 kB / 463.1 MB, free: 7.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.09613, allocations: 12 kB / 463.1 MB, free: 7.301 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.09646, allocations: 295.6 kB / 463.4 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.09773, allocations: 1.268 MB / 464.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.09809, allocations: 229.1 kB / 464.9 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.09821, allocations: 109.7 kB / 465 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.09824, allocations: 11.98 kB / 465 MB, free: 5.289 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.09827, allocations: 30.56 kB / 465 MB, free: 5.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.09827, allocations: 0 / 465 MB, free: 5.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.00062/0.0989, allocations: 444.3 kB / 465.5 MB, free: 4.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.09893, allocations: 77.11 kB / 465.6 MB, free: 4.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.09907, allocations: 198.3 kB / 465.8 MB, free: 4.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.09909, allocations: 29.7 kB / 465.8 MB, free: 4.473 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.09915, allocations: 163.9 kB / 465.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.09918, allocations: 59.11 kB / 466 MB, free: 4.246 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.09925, allocations: 49.7 kB / 466 MB, free: 4.191 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.0993, allocations: 330.8 kB / 466.4 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.09944, allocations: 87.89 kB / 466.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.09957, allocations: 160.5 kB / 466.6 MB, free: 3.586 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.09981, allocations: 260.4 kB / 466.9 MB, free: 3.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.09982, allocations: 0 / 466.9 MB, free: 3.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003246/0.1001, allocations: 297.2 kB / 467.2 MB, free: 3.004 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1002, allocations: 15.94 kB / 467.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1002, allocations: 0 / 467.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1002, allocations: 7.938 kB / 467.2 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.1004, allocations: 51.95 kB / 467.2 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1004, allocations: 7.938 kB / 467.2 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.1006, allocations: 19.92 kB / 467.3 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.1006, allocations: 12 kB / 467.3 MB, free: 2.891 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.0001086/0.1007, allocations: 153.8 kB / 467.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.1008, allocations: 19.75 kB / 467.4 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.1011, allocations: 231.4 kB / 467.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1011, allocations: 0 / 467.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1011, allocations: 0 / 467.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1011, allocations: 4 kB / 467.7 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009557/0.1021, allocations: 0.9518 MB / 468.6 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1021, allocations: 4 kB / 468.6 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.1022, allocations: 39.91 kB / 468.7 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.1022, allocations: 4 kB / 468.7 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1022, allocations: 11.94 kB / 468.7 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1022, allocations: 11.94 kB / 468.7 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1022, allocations: 4 kB / 468.7 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.1027, allocations: 1.077 MB / 469.8 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1028, allocations: 100.9 kB / 469.9 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.1028, allocations: 12 kB / 469.9 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.103, allocations: 7.984 kB / 469.9 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.103, allocations: 23.86 kB / 469.9 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.103, allocations: 16.08 kB / 469.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1032, allocations: 143.2 kB / 470.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1032, allocations: 4 kB / 470.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004371/0.1036, allocations: 52 kB / 470.1 MB, free: 15.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.0001018/0.1037, allocations: 103.2 kB / 470.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.1041, allocations: 211.7 kB / 470.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1041, allocations: 0.5625 kB / 470.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1042, allocations: 99.77 kB / 470.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.1047, allocations: 48.69 kB / 470.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.1056, allocations: 0.8198 MB / 471.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.106, allocations: 0.7674 MB / 472.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.1062, allocations: 53.48 kB / 472.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.1062, allocations: 23.42 kB / 472.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1062, allocations: 0 / 472.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Templates: time 0.004232/0.1105, allocations: 1.858 MB / 474.1 MB, free: 11.7 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)