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.0008386/0.0008386, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0008791/0.0008791, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9282/0.9282, allocations: 177.1 MB / 205 MB, free: 5.625 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.2381/0.2381, allocations: 29.42 MB / 290.9 MB, free: 2.395 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 1.843e-06/1.843e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.912e-05, allocations: 5.969 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.00353/0.003559, allocations: 3.504 MB / 373.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.004986, allocations: 1.203 MB / 374.3 MB, free: 6.234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.005124, allocations: 19.88 kB / 374.4 MB, free: 6.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.00566, allocations: 211.1 kB / 374.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005162/0.006176, allocations: 274.6 kB / 374.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.006448, allocations: 127.5 kB / 375 MB, free: 5.613 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.006805, allocations: 338.9 kB / 375.3 MB, free: 5.281 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.007055, allocations: 118.1 kB / 375.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.007368, allocations: 211.3 kB / 375.6 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.007569, allocations: 143.6 kB / 375.7 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.00759, allocations: 16 kB / 375.8 MB, free: 4.805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.007952, allocations: 279.1 kB / 376 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.008057, allocations: 107.7 kB / 376.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.008131, allocations: 79.81 kB / 376.2 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.008515, allocations: 315 kB / 376.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.008518, allocations: 0 / 376.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.008521, allocations: 3.984 kB / 376.5 MB, free: 4.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.008526, allocations: 0 / 376.5 MB, free: 4.035 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.0005468/0.009073, allocations: 0.5501 MB / 377.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.00911, allocations: 15.92 kB / 377.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005366/0.009647, allocations: 136.5 kB / 377.2 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.009894, allocations: 212.2 kB / 377.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.009908, allocations: 12.38 kB / 377.4 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.009941, allocations: 20.38 kB / 377.5 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.01021, allocations: 231.6 kB / 377.7 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.01022, allocations: 4.188 kB / 377.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.01024, allocations: 8.375 kB / 377.7 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.01027, allocations: 23.92 kB / 377.7 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.01044, allocations: 119.8 kB / 377.8 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.01156, allocations: 1.261 MB / 379.1 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.0118, allocations: 146.2 kB / 379.3 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.01187, allocations: 43.42 kB / 379.3 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.01189, allocations: 7.938 kB / 379.3 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.01191, allocations: 41.38 kB / 379.3 MB, free: 1.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.01191, allocations: 0 / 379.3 MB, free: 1.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004651/0.01238, allocations: 240.3 kB / 379.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.01242, allocations: 89.09 kB / 379.7 MB, free: 0.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.01256, allocations: 242.5 kB / 379.9 MB, free: 420 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.01257, allocations: 33.83 kB / 379.9 MB, free: 380 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.01265, allocations: 199 kB / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.01269, allocations: 63.47 kB / 380.2 MB, free: 112 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.01274, allocations: 59.53 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.01287, allocations: 0.504 MB / 380.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.01293, allocations: 32.45 kB / 380.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-05/0.01302, allocations: 142.2 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.01318, allocations: 188.6 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01318, allocations: 0 / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002163/0.0134, allocations: 200.1 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01342, allocations: 15.94 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01342, allocations: 0 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.01343, allocations: 4 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.01358, allocations: 51.91 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.01359, allocations: 4 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.01366, allocations: 19.92 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.01368, allocations: 15.98 kB / 381.4 MB, free: 14.78 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 8.614e-05/0.01376, allocations: 168.5 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.01379, allocations: 23.91 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.01399, allocations: 135.4 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01399, allocations: 4 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.014, allocations: 3.984 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.014, allocations: 3.984 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/0.01459, allocations: 0.6721 MB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.0146, allocations: 4 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.01467, allocations: 35.91 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.01467, allocations: 8 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.01469, allocations: 8 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.01469, allocations: 7.938 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01469, allocations: 4 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.01495, allocations: 429 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.01498, allocations: 15.91 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.015, allocations: 15.98 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.01507, allocations: 8 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.01511, allocations: 27.84 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.01512, allocations: 12 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.645e-05/0.0152, allocations: 174.9 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0152, allocations: 0 / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.01543, allocations: 52 kB / 383.2 MB, free: 12.78 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 8.725e-05/0.01551, allocations: 107.1 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.01571, allocations: 135.4 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01571, allocations: 0 / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.37e-05/0.01577, allocations: 57.05 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.01607, allocations: 53.66 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.01704, allocations: 0.5482 MB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.692e-05/0.01711, allocations: 99.95 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.009e-05/0.0172, allocations: 41.59 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.01725, allocations: 20.48 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01725, allocations: 0 / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of Templates: time 0.003707/0.02096, allocations: 1.913 MB / 386.2 MB, free: 9.719 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: 2.8741100230254233]