Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.001397/0.001397, allocations: 89.86 kB / 20.78 MB, free: 0.5781 MB / 14.72 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.001403/0.001403, allocations: 163.5 kB / 24.07 MB, free: 3.551 MB / 14.72 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 1.469/1.469, allocations: 177.1 MB / 204.4 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.1795/0.1795, allocations: 29.42 MB / 290.2 MB, free: 3.234 MB / 270.1 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.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.746e-06/2.746e-06, allocations: 0 / 430.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.162e-05/4.436e-05, allocations: 2.281 kB / 430.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01364/0.01369, allocations: 7.213 MB / 438.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.02538, allocations: 5.121 MB / 443.3 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.02615, allocations: 35.75 kB / 443.3 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.217/0.2432, allocations: 5.725 MB / 449 MB, free: 19.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.2454, allocations: 0.7067 MB / 449.7 MB, free: 19.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.2469, allocations: 474.5 kB / 450.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004664/0.2515, allocations: 2.338 MB / 452.5 MB, free: 19.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.2542, allocations: 0.9951 MB / 453.5 MB, free: 19.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/0.2584, allocations: 0.9015 MB / 454.4 MB, free: 18.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.2606, allocations: 0.6902 MB / 455.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005777/0.2612, allocations: 124.7 kB / 455.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.2628, allocations: 448.2 kB / 455.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.2638, allocations: 0.5201 MB / 456.2 MB, free: 18.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.2655, allocations: 424.1 kB / 456.6 MB, free: 18.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00364/0.2691, allocations: 1.805 MB / 458.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.2691, allocations: 0.6094 kB / 458.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2691, allocations: 1.375 kB / 458.4 MB, free: 18.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.22e-05/0.2692, allocations: 0 / 458.4 MB, free: 18.2 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003304/0.2725, allocations: 1.395 MB / 459.8 MB, free: 17.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2726, allocations: 13.55 kB / 459.8 MB, free: 17.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008844/0.2734, allocations: 177.2 kB / 460 MB, free: 17.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.2753, allocations: 0.9498 MB / 461 MB, free: 16.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.395e-05/0.2754, allocations: 65.41 kB / 461 MB, free: 16.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.2756, allocations: 97.36 kB / 461.1 MB, free: 16.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.2774, allocations: 1.089 MB / 462.2 MB, free: 16.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.2774, allocations: 3.766 kB / 462.2 MB, free: 16.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.874e-05/0.2775, allocations: 31.94 kB / 462.2 MB, free: 16.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/0.2778, allocations: 82.03 kB / 462.3 MB, free: 16.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.2792, allocations: 0.827 MB / 463.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005265/0.2844, allocations: 3.538 MB / 466.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009344/0.2854, allocations: 0.5158 MB / 467.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.2858, allocations: 285.3 kB / 467.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.2858, allocations: 6.875 kB / 467.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.2858, allocations: 41.36 kB / 467.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.575e-06/0.2858, allocations: 0 / 467.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005183/0.291, allocations: 2.377 MB / 469.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.2911, allocations: 110.4 kB / 470 MB, free: 12.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008406/0.2919, allocations: 0.6831 MB / 470.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.292, allocations: 37.58 kB / 470.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.2922, allocations: 0.4906 MB / 471.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.2924, allocations: 247.1 kB / 471.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.2926, allocations: 148.6 kB / 471.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2927, allocations: 398.9 kB / 472 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.2932, allocations: 303.4 kB / 472.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.2938, allocations: 0.5441 MB / 472.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003707/0.2975, allocations: 1.595 MB / 474.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.2975, allocations: 3.344 kB / 474.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002255/0.2997, allocations: 1.252 MB / 475.7 MB, free: 8.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2998, allocations: 12.25 kB / 475.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.2998, allocations: 5.5 kB / 475.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.3009, allocations: 396.1 kB / 476.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.3014, allocations: 154.6 kB / 476.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/0.3078, allocations: 5.819 MB / 482.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008364/0.3087, allocations: 36.7 kB / 482.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.3087, allocations: 29.47 kB / 482.1 MB, free: 4.07 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.000676/0.3094, allocations: 363.1 kB / 482.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.3096, allocations: 83.14 kB / 482.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.311, allocations: 0.8907 MB / 483.5 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.311, allocations: 10.31 kB / 483.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.311, allocations: 3.406 kB / 483.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.311, allocations: 0 / 483.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.3137, allocations: 1.693 MB / 485.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3137, allocations: 0.625 kB / 485.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.3143, allocations: 121.6 kB / 485.3 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/0.3148, allocations: 197.3 kB / 485.5 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.3148, allocations: 23.98 kB / 485.5 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004726/0.3196, allocations: 5.074 MB / 490.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3196, allocations: 0 / 490.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.3218, allocations: 1.267 MB / 491.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.3222, allocations: 127.4 kB / 492 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.3224, allocations: 23.94 kB / 492 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.3227, allocations: 19.98 kB / 492 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.3229, allocations: 48.41 kB / 492.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.3229, allocations: 23.98 kB / 492.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007222/0.3237, allocations: 479 kB / 492.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3237, allocations: 0 / 492.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001353/0.325, allocations: 267.9 kB / 492.8 MB, free: 9.566 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00177/0.3268, allocations: 0.5074 MB / 493.3 MB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.329, allocations: 1.103 MB / 494.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.329, allocations: 3.938 kB / 494.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.3301, allocations: 0.6922 MB / 495.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009552/0.331, allocations: 168.5 kB / 495.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.3353, allocations: 2.269 MB / 497.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.336, allocations: 0.5441 MB / 498.1 MB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00052/0.3365, allocations: 158.3 kB / 498.3 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.3367, allocations: 64.48 kB / 498.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3367, allocations: 0 / 498.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of Templates: time 0.02652/0.3632, allocations: 12.1 MB / 0.4984 GB, free: 8.281 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.353773534297943] Failed to read output from testmodel.py, exit status != 0: 0.37429051473736763 0.38995994599999995 0.117289814 Calling exit ...