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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 165.9 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9875/0.9875, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2264/0.2264, allocations: 29.41 MB / 291.2 MB, free: 2.504 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.241e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005571/0.005604, allocations: 3.605 MB / 373.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.007802, allocations: 1.488 MB / 374.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.00797, allocations: 7.938 kB / 374.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.008752, allocations: 262.8 kB / 375 MB, free: 5.949 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.009398, allocations: 286.6 kB / 375.2 MB, free: 5.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.009752, allocations: 135.4 kB / 375.4 MB, free: 5.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.01022, allocations: 350.9 kB / 375.7 MB, free: 5.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/0.01052, allocations: 114.1 kB / 375.8 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/0.01092, allocations: 203.3 kB / 376 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.01121, allocations: 147.6 kB / 376.2 MB, free: 4.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.01124, allocations: 20 kB / 376.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.01174, allocations: 287 kB / 376.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.01187, allocations: 111.7 kB / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.01198, allocations: 75.83 kB / 376.7 MB, free: 4.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005533/0.01253, allocations: 315 kB / 377 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01253, allocations: 0 / 377 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01254, allocations: 0 / 377 MB, free: 3.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.01254, allocations: 0 / 377 MB, free: 3.945 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.0007299/0.01327, allocations: 0.5423 MB / 377.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.01332, allocations: 15.98 kB / 377.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/0.01423, allocations: 136.6 kB / 377.7 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.01459, allocations: 220.1 kB / 377.9 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.01462, allocations: 16.38 kB / 377.9 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.01466, allocations: 16.36 kB / 377.9 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.01506, allocations: 227.7 kB / 378.1 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.01507, allocations: 4.125 kB / 378.1 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.0151, allocations: 12.38 kB / 378.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.01515, allocations: 19.94 kB / 378.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.01544, allocations: 115.8 kB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.01737, allocations: 1.265 MB / 379.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.01776, allocations: 142.1 kB / 379.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.01787, allocations: 58.92 kB / 379.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.0179, allocations: 4 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.01794, allocations: 37.39 kB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.446e-06/0.01794, allocations: 0 / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000762/0.0187, allocations: 245.1 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.01876, allocations: 85.05 kB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.01896, allocations: 246.5 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.01898, allocations: 29.7 kB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.01909, allocations: 203 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.01915, allocations: 59.61 kB / 380.6 MB, free: 20 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.01926, allocations: 59.5 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.01942, allocations: 0.5116 MB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.01951, allocations: 31.98 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.01965, allocations: 129.8 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.01991, allocations: 188.6 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01991, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003664/0.02028, allocations: 199.8 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.0203, allocations: 4 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.0203, allocations: 4 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.02032, allocations: 4.281 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.02056, allocations: 55.91 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.02057, allocations: 4 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.02069, allocations: 19.92 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.02071, allocations: 12 kB / 381.8 MB, free: 14.7 MB / 362.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.0001191/0.02083, allocations: 168.5 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.02089, allocations: 23.91 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.02119, allocations: 139.3 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.0212, allocations: 4 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.0212, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.02121, allocations: 15.86 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009537/0.02216, allocations: 0.6567 MB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.02216, allocations: 4 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.02228, allocations: 39.95 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.0223, allocations: 7.984 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.02232, allocations: 12 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.02232, allocations: 4 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.02233, allocations: 7.938 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.02273, allocations: 425.2 kB / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.02277, allocations: 19.91 kB / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.02281, allocations: 15.98 kB / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.02295, allocations: 8 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.023, allocations: 31.84 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.02302, allocations: 8 kB / 383.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.02314, allocations: 174.9 kB / 383.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02314, allocations: 0 / 383.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004204/0.02356, allocations: 52 kB / 383.6 MB, free: 12.7 MB / 362.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.0001223/0.02368, allocations: 103.2 kB / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.02395, allocations: 131.4 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02395, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.02406, allocations: 57.05 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.02455, allocations: 46.06 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.026, allocations: 0.5562 MB / 384.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.673e-05/0.0261, allocations: 95.95 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000137/0.02624, allocations: 45.58 kB / 384.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.02632, allocations: 20.5 kB / 384.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.723e-06/0.02632, allocations: 0 / 384.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of Templates: time 0.004576/0.03089, allocations: 1.859 MB / 386.5 MB, free: 9.695 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.123628678964451]